6/03, 00:02: Tomcat Remote Debugging XDebug, JAVA_OPTS and setenv.bat/sh

1. Create setenv.bat/sh file in tomcat/bin

2. Put and save:

SET JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

3. Starting Tomcat you’ll see:

Tomcat XDebug SetEnv settings