IntelliJ IDEA 2017.3 Help

Configuring Debugger Options

On this page:

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 box, 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.
    • Under the Build, Execution and Deployment, click Debugger, and define the debugger options as required.
Last modified: 11 October 2017

See Also