Skip to content

Instantly share code, notes, and snippets.

@noherczeg
Created January 5, 2016 22:02
Show Gist options
  • Select an option

  • Save noherczeg/36ae08ec0ab7495491d3 to your computer and use it in GitHub Desktop.

Select an option

Save noherczeg/36ae08ec0ab7495491d3 to your computer and use it in GitHub Desktop.
================================
CATALINA
================================
Create setenv.bat if not exists
Add the following into it:
set CATALINA_OPTS="-agentlib:jdwp=transport=dt_socket,address=9999,server=y,suspend=n"
Start Tomcat with catalina start (or startup?)
First line should be:
"Listening for transport dt_socket at address: 9999"
================================
IDEA Community Edition
================================
Create a ruun configuration:
- type: Remote
- host: localhost
- port: 9999 (should be at the bottom of the page)
Save, and push the debugger button.
Profit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment