Debugging Confluence Plugin creation

Hi,
I’m working on creating a plugin/addon on confluence server. I started with the [Wikipedia Macro](Wikipedia macro) creation and was able to create it successfully. Now I’m trying to play around with the macro and making a few changes to test if its working or not. I’m new to Java development and haven’t coded in Java before (however, I’m acquainted to working in C#).

I wanted to know if it’s somehow possible to debug the addon creation in Confluence. I’m using Eclipse as the IDE for the add-on creation/manipulation.
Can someone please guide me on how to proceed with the add-on enhancement.

Thanks in advance,
Neha