Created
January 5, 2016 22:02
-
-
Save noherczeg/36ae08ec0ab7495491d3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ================================ | |
| 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