Eclipse Debug Configuration
Creating and Using Debug Configurations
Eclipse Debug configurations are similar to run configurations but are used to start applications in debug mode.
To open the Debug Configuration dialog, go to: Run > Debug Configurations.
Select the "Java Application" option from the left-hand list to choose the Java code you want to debug.
The description information in the dialog includes:
Name of the debug configuration
Project name
Main class name
The description information in the Arguments tab includes:
Zero or more program arguments
Zero or more virtual machine arguments (VM arguments)
Save the run configuration information and click the Apply button, then click the Debug button to load the application in debug mode.