How can I check if Jira was started in Debug mode Edited

I have a development Jira running on Windows. I start and stop it multiple times during the day. Each time I need to connect to it to debug I forget whether I started it using "start-jira.bat" or "catalina .bat jpda start".

Is there a way to find out if a running Jira was started in debug mode or not.

The only way I could find is to confirm the configured debug port from catalina.bat and try to connect a debug session through the IDE. If connects then debug mode, if not then not.

You might have guessed I am hoping for a more elegant solution that does not include the use of an IDE.

1 answer

1 accepted

0 vote

Hi Emre,

While debugging JIRA is not my specialty, one thing that should be common is the fact that the port needs to be listening.  Since that should be true you should be able to run a command similar to netstat to find out if the port is listening.  On Linux and OS X I use the following to find out which ports are listening:

netstat | grep "LISTEN"

Another command you may try if you're on Linux/OS X  is lsof.  In Windows you should be able to use netstat as well, however, I would also refer to the post titled Use PowerShell to Identify Port Connections in Windows 8 for additional assistance.

Hopefully that helps a bit. 

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

503 views 3 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you