Skip to content

Java Remote Debugging

Debugging

To connect for remote java debugging of Eclipse Dirigible, follow the next steps:

  1. Start the Tomcat server in JPDA (debug) mode:

    Run Tomcat in JPDA mode

    ./catalina.sh jpda run
    
    ./catalina.sh jpda run
    
    catalina.bat jpda run
    

    Run the docker image with Java Debugging Options as described here.

  1. Create new Debug Configuration:

    New Debug Configuration Project

  2. New Remote Java Application configuration:

    Note

    • Double click on the Remote Java Application to create new configuration.
    • Update the host and port properties, if needed.

    Remote Java Application Configuration

  3. Press the Debug button to start new remote debug session.

  1. Create new Debug Configuration from the Edit Configurations.. option:

    remote_debug_intellij

  2. Add new Remote JVM Debug configuration using the + button and double click on Remote JVM Debug:

    new_remote_jvm_debug_configuration

  3. Use the configuration provided on the screenshot below, update the host and port properties if needed:

    remote_debug_configuration

  4. Press the Debug button to start new remote debug session.