IntelliJ IDEA 2018.1 Help

Configuring Debugger Options

Introduction

IntelliJ IDEA supports debugging for Java and Groovy applications, classes, and files. The debugging functionality is incorporated in IntelliJ IDEA, you only need to configure its settings.

Depending on the plugins enabled, IntelliJ IDEA can also support debugging for other languages, for example, JavaScript, Flex or PHP.

IntelliJ IDEA supports debugging applications running on the built-in or an external web server. Debugging can be performed only using Google Chrome and other browsers of the Chrome family.

Configuring debugger settings

To configure settings required for debugging, perform the following general steps

  1. In the Project Structure dialog (Ctrl+Shift+Alt+S), configure the roots, dependencies and libraries to be passed to the compiler.
  2. In the Settings/Preferences dialog (Ctrl+Alt+S), configure the debugger options:
    • Under the Build, Execution and Deployment section, click Debugger, and configure the debugger options.
    • Under the Build, Execution and Deployment section, point to Compiler node, click Java Compiler, or RMI Compiler, and select the checkbox Generate debugging info.
Last modified: 24 July 2018

See Also