# Debugger settings

> **TL;DR**
> `File | Settings | Build, Execution, Deployment | Debugger` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Build, Execution, Deployment | Debugger` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

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

## Common options

| Item | Description |
| --- | --- |
| Show debug window on breakpoint |  If this checkbox is selected, IntelliJ IDEA activates the [Debug tool window](debug-tool-window.html) on hitting a breakpoint.  |
|  Focus application on breakpoint  | If this checkbox 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.  |
| Hide debug window on process termination |  Automatically hide the [Debug tool window](debug-tool-window.html) when the debugged program terminates.  |
| Scroll execution point to center |  If this checkbox is selected, the line with the current execution point will be kept in the middle of the screen.  |
| Click line number to perform run to cursor |     If this checkbox is selected, you can click a line number in the editor to  [run program execution to this line](stepping-through-the-program.html#run-to-cursor).       |
|  Remove breakpoint  |     Select how you want to remove breakpoints:        * By clicking them with the left mouse button    * By dragging them to the editor or clicking them with the middle mouse button. In this case, clicking a breakpoint will toggle its state between enabled and disabled.      You can also choose whether you want a confirmation dialog to be displayed when you are about to remove a conditional or a logging breakpoint     |

## Java

| Item | Description |
| --- | --- |
| Transport |  Select transport for connection to the process. Available options are socket and shared memory. shared memory is available for Windows systems only.  |
| Show alternative source switcher | The alternative source switcher appears on top of the editor if there is more than one class with the same fully qualified name in the project.  |
| Kill the debug process immediately | Select this checkbox if you want to  the [soft kill](starting-the-debugger-session.html#terminate) the Java process.  |
| Attach memory agent |  Run applications with the memory agent attached. It allows you to [calculate the object's retained size](analyze-objects-in-the-jvm-heap.html#calculate-retained) in the Memory tab.  |

## Kotlin

| Item | Description |
| --- | --- |
| Attach coroutine agent |  Search for coroutines in the classpath and add `-javaagent=coroutine-debug-agent.jar` to the VM options to enable [coroutine debugging](debug-kotlin-coroutines.html).  |

## See also

### Procedures

[Debug code](debugging-code.html)  [Debug tool window](debug-tool-window.html)

### Reference

