I'm trying to figure out to how to debug a plugin on a remote jira installation. I don't want to create a local jira instance to debug in, because my plugin returns data from custom database tables in the Jira database of the remote instance.
Can anyone point me in the direction of a guide, or perhaps even provide one, for remote debugging?
As with above answer, I'm running jira as a windows service. When I stop the service and try to run catalina.bat jpda start in the bin directory, it looks like it executes and doesn't do a lot. I get the Jira logo, my jira version, a few directory paths, then it takes me back to the command line. It feels way too quick to be bringing Jira online tbh. I think this maybe because it's running as a service and not started up in a command prompt.
I wanted to enhance on Timothy's answer for windows service based installations:-
Maybe this guide will help.
The only thing which you will need to change will be hostname of remote server instead of localhost. Also dont forget to start server in debug mode.
For tomcat you can specify
option while startup.
Where I work, IT creates a clone of our JIRA database every night and serves it through a 2nd test server. That way we can test using our customized JIRA schemas. The test database gets overwritten every night, so no matter how bad your bug, no long term harm will be done.
The technique referenced by Vinay may work well for you, and be easier to implement.
Wow, I got swamped and now that I've finally gotten my head back above water, I find we have several new members! Welcome @Darren Keith lowman , @Amanda Babb , @Luis Zapata , @Joli Holmes , and @bh...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events