IntelliJ IDEA 2017.2 Help

Debugger

File | Settings | Build, Execution, Deployment | Debugger for Windows and Linux
IntelliJ IDEA | Preferences | Build, Execution, Deployment | Debugger for macOS
Ctrl+Alt+S /help/img/idea/2017.2/settings.png


Use this page to configure behavior of the Debugger and customize its view.

Common options

ItemDescription
Focus application on breakpoint If this check box is selected, on hitting a breakpoint, IntelliJ IDEA will show the location of this breakpoint in the editor and will attempt to bring its frame to the front.
Show debug window on breakpointIs this check box is selected, IntelliJ IDEA activates the Debug Tool Window on hitting a breakpoint.
Hide debug window on process termination Automatically hide the Debug window when the debugged program terminates.
Scroll execution point to centerIf this check box is selected, the line with the current execution point will be kept in the middle of the screen.

Java

ItemDescription
TransportSelect transport for connection to the process. Available options are socket and shared memory, which is available for Windows systems only.
Force classic VM for JDK 1.3.x and earlierCheck this option to launch process to be debugged with classic VM.
Disable JITWith this option you can control whether the -Djava.compiler=NONE parameter is specified when the application is launched. This parameter affects JIT compiler, and if the option is turned on, JIT compiler will be disabled.
Show alternative source switcherThe alternative source switcher appears on top of the editor, if in project there is more than one class with the same fully qualified name.
Kill the debug process immediatelySelect this check box, if you want to soft kill the Java process.

Built-in server

ItemDescription
PortUse this spin box to specify the port on which the built-in web server runs. By default this port is set to the default IntelliJ IDEA port 63342 through which IntelliJ IDEA accepts connections from services. You can set the port number to any other value starting with 1024 and higher.
Can accept external connections If this check box is selected, then the files on the built-in server running on the specified port are accessible from another computer.
If this check box is cleared (by default), then the debugger listens only to local connections.
Allow unsigned requests For security reasons, any request to a page on the built-in server from outside IntelliJ IDEA is by default rejected and the following authorization pop-up window is displayed:
debugger_allow_unsigned_requests.png
To access the requested page, click Copy authorization URL to clipboard and paste the generated token in the address bar of the browser.

However this behaviour may be annoying, for example, it may block your debugging session if manual intervention is impossible. To suppress displaying the authorization pop-up window, select the Allow unsigned requests check box.

See Also

Procedures:

Last modified: 25 July 2017