As a developer, what I do is this:
 1.  Clone the repo
 2. Run the plugin with: mvnDebug -q hpi:run 
-Djava.util.logging.config.file=logging.properties -Djenkins.version=2.89.3
3. Attach a debugger, I use Eclipse

I also have a logging.properties file containing:

handlers = java.util.logging.ConsoleHandler
org.jenkinsci.plugins.jvcts.level = FINE
java.util.logging.ConsoleHandler.level = FINE 

If you are not a developer, I would suggest filing a detailed issue on the 
plugin. Perhaps it needs better logging, or some sort of feedback.

Den torsdag 19 april 2018 kl. 09:49:21 UTC+2 skrev htsn wijesuriya:
>
> Dear team,
> I"m new for plugin development ,I tried to created Jenkins plugin support 
> in blue ocean as well,my blocking point is I can"t find the way to debug it.
> Can I know the how to debug my plugin?
> Thanks
> HTSN 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/436b0419-0dac-41d8-a386-d1ae0a1c863c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to