The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging plugins uploaded as jars

Shawn Hodgson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 12, 2024

I have a plugin that was developed in eclipse, then a jar package was created, and then the jar uploaded to Jira over the manage plugins web interface. I would like to remotely debug that plugin. This included breakpoints, variables, and so on. Not just outputting errors to the log. I have installed the sdk and can run the atlas-debug command. It complains that it there is no pom. From what I understand it needs to be run from the plugin's directory, but there is only a jar on the server. 

Is it possible to remotely debug the .jar? Am I somehow supposed to convert the project to something that sits on the Jira server, so that I can run the atlas-debug command where the pom file is located? I am a bit lost. Any clarity would be much appreciated. 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
December 18, 2024

Hi @Shawn Hodgson and welcome,

please take a look to the following how-to guide https://developer.atlassian.com/server/framework/atlassian-sdk/creating-a-remote-debug-target/

Keep in mind that you should start jira in debug mode so that you can connect remotely from your IDE.

Hope this helps,

Fabio

Shawn Hodgson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 18, 2024

Hello Fabio,

Thanks for the reply. Do you have a link for starting Jira in debug mode? We tried some of the things found in the forum, but they didn't really help. We are unfortunately under experienced in this matter.

 

Regards,

Shumway