Blogs

We regularly introduce fresh blog content and updates every few weeks. During our work, we frequently encounter unexpected challenges, and now and then, we stumble upon exciting Eureka moments that we're eager to share.

How to start Atlassian applications in standalone debug mode?

Nov 7, 2023

How to run atlas standalone command in debug mode?

It is very easy to run atlas standalone in debug mode. Follow the steps below

Atlas run standalone sample

Below is the example which you can use to run Jira version 9.4.11 in standalone mode

atlas-run-standalone --product jira --version 9.4.11 

Provide jvmargs

You just need to provide jvmargs to atlas-run-standalone command. The jvmargs should look like as below :

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

Finally

To run Jira in debug mode, combine the above two by using --jvmargs flag

atlas-run-standalone --product jira --version 9.4.11 --jvmargs '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005' 

References :


Note: We have tried and tested this on Jira version 9.4.11 and 9.11.2. Please reach out to us if this no longer works using contact us, we may have a better way by then.