Starting the Debugger Session
In this section:
- Configure debugger options.
- Specify the roots, dependencies and libraries to be passed to the Debugger.
- Set breakpoints in the source code.
- If necessary, create or modify the corresponding Run/Debug configuration.
The debugging session starts with the selected run/debug configuration. Note that several debug processes can be launched simultaneously.
When debugging an application in IntelliJ IDEA, keep in mind that
- If the Make module before running/debugging/reloading option has been selected, IntelliJ IDEA first compiles all modified sources in your project.
- IntelliJ IDEA proceeds with debugging, if compilation reports no errors.
- If the code has not been compiled before debugging, the source and class files might be out of sync.
- If you specify the
-classpathoption in the VM Options field, the selected module classpath will be overridden.
Debugging an application
To start debugging an application, do one of the following
- Select the run/debug configuration to execute, and then do one of the following:
- Click on the toolbar.
- Choose Run | Debug on the main menu.
- Press Shift+F9.
- Press Shift+Alt+F9, select the configuration from the pop-up menu, and press Enter.
Last modified: 12 November 2014