← All features

Debugging (DAP)

Full debugging for Java, Python, JavaScript, TypeScript, Groovy, Kotlin, Clojure, Scala, Go, Rust, C, C++, C#, Ruby, PHP, Bash, PowerShell, Elixir, Dart and Lua: breakpoints, step in/over/out, watches, set-value, run-to-cursor, inline values, Debug History, and an interactive console.

A Java program paused at a breakpoint, with inline values and the Debug window's call stack and variables A Java program paused at a breakpoint, with inline values and the Debug window's call stack and variables


Stop a program where it goes wrong, read its values and step through it, in one Debug window that works the same way in every language and never takes the keyboard from the editor.

Start a session

Debug: Start / Continue is C-c C-d d in the Emacs keymap and F5 in the CUA, Sublime Text and VS Code keymaps (see the keybindings for IntelliJ IDEA). It builds first and stops on compile errors.

Set breakpoints

Debug: Toggle Breakpoint is C-c C-b in the Emacs keymap and F9 in the CUA, Sublime Text and VS Code keymaps.

Step through the code

Inspect values

Look back and look deeper

Languages and adapters

Each language’s debugger is installed separately. Its card in Settings → Debugging says whether it is found and offers Install… where Editora can fetch it. Java debugging also needs the language server, and Debug: Edit Debug Adapters adds any other debugger that speaks the Debug Adapter Protocol. Each page under Languages says what its debugger supports.

On by default. Turn it off in Settings → Debugging. See the Debugging guide.