How do I run Java in debug mode?
Toggle to the Java > JVM Settings tab. Select the Enable Debug checkbox under Debug Java Settings. By clicking the New button, you can provide JVM parameters as needed. Suspend=y causes the JVM to start in suspended mode and stay there until a debugger is attached to it.