# Using interactive Debugger Console

> **TL;DR**
> Required plugins:
>
>
>
> `JavaScript and TypeScript` -    the plugin is bundled with IntelliJ IDEA and enabled by default.
>
>
>
> `Node.js`, `JavaScript Debugger` -    install the plugins on the Settings | Plugins page, tab Marketplace.     The plugins are available only in IntelliJ IDEA with the Ultimate subscription.

When you are debugging a Node.js application, IntelliJ IDEA shows two console tabs in the Debug tool window - Process Console and Debugger Console.

* The Process Console tab shows the output of the node process itself, that is, everything that is written to [process.stdout](https://nodejs.org/api/process.html#process_process_stdout) and [process.stderr](https://nodejs.org/api/process.html#process_process_stderr) directly or is logged using [console.*](https://nodejs.org/api/console.html#console_class_console). ![Node.js debugging session: Process Console](https://resources.jetbrains.com/help/img/idea/2026.2/ws_node_debugging_process_console.png)

* In the Debugger Console, you can run JavaScript code snippets and view the [console.*](https://nodejs.org/api/console.html#console_console) messages. [Video](https://resources.jetbrains.com/help/img/idea/2026.2/ws_node_debugging_debug_console.mp4)

Procedure: Run JavaScript in the Debugger Console

1. Start typing a statement at `>` in the input field. As you type, IntelliJ IDEA suggests variants for completion.

> **Tip:**
> When typing a multi-line code fragment, press `Shift+Enter` (Windows), `⇧ ⏎` (macOS), `⇧ ⏎` (IntelliJ IDEA Classic (macOS)), `⇧ ⏎` (macOS System Shortcuts), `Shift+Enter` (XWin), `Shift+Enter` (GNOME), `Shift+Enter` (KDE), `Shift+Enter` (Emacs), `Ctrl+Enter` (Sublime Text), `⌘ ⏎` (Sublime Text (macOS)), `Shift+Enter` (NetBeans), `Shift+Enter` (Visual Studio), `⇧ ⏎` (Visual Studio (macOS)), `Shift+Enter` (Eclipse), `⇧ ⏎` (Eclipse (macOS)) to start a new line and `Ctrl+Enter` (Windows), `⌘ ⏎` (macOS), `⌘ ⏎` (IntelliJ IDEA Classic (macOS)), `⌘ ⏎` (macOS System Shortcuts), `Ctrl+Enter` (XWin), `Ctrl+Enter` (GNOME), `Ctrl+Enter` (KDE), `Ctrl+Enter` (Emacs), `Ctrl+Enter` (Sublime Text), `⌘ ⏎` (Sublime Text (macOS)), `Ctrl+Enter` (NetBeans), `Ctrl+Enter` (Visual Studio), `⌘ ⏎` (Visual Studio (macOS)), `Ctrl+Enter` (Eclipse), `⌘ ⏎` (Eclipse (macOS)) to split a line.

2. Select the relevant statement and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)). IntelliJ IDEA shows its value in the debugger console.

IntelliJ IDEA shows previews for objects, so you do not need to expand them. If you still expand an object, you get an overview of just its own properties, the `__proto__` contents are hidden by default.

Procedure: Navigate to source code

* At each line with output of `console.*`, IntelliJ IDEA shows the name of the file and the line where it was called. Click this link to jump to the call in the source code.

![Node.js interactive debugger console: navigation to source code](https://resources.jetbrains.com/help/img/idea/2026.2/node_interactive_debugger_console_navigate_to_source.animated.gif)

* The Debugger Console also shows stack traces. Click the link next to a reported problem  to jump to the line of code where this problem occurred.

![Node.js interactive debugger console: navigation to errors](https://resources.jetbrains.com/help/img/idea/2026.2/node_interactive_debugger_console_navigate_from_stack_trace.animated.gif)

Procedure: Filter out messages

The Debugger Console tab shows objects in a tree view, with stack traces collapsed by default. Warnings `console.warn()`, errors `console.error()`, and info `console.info()` messages have different icons and background colors to make them easier to notice.

* To hide log messages of specific types, click ![the Filter button](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.filter.svg) and select the severities to filter out.

![Node.js interactive debugger console: filtering out messages by type](https://resources.jetbrains.com/help/img/idea/2026.2/node_interactive_debugger_console_filter.animated.gif)

Procedure: Group messages

* The log messages grouped using `console.group()` and `console.groupEnd()` are displayed as a tree. To show the output collapsed by default, use `console.groupCollapsed()`.

![Node.js interactive debugger console: log messages grouped](https://resources.jetbrains.com/help/img/idea/2026.2/node_interactive_debugger_console_group_messages.png)

Procedure: Apply CSS styles

* Use CSS and the `%c` marker to apply styles to log messages.

![Node.js interactive debugger console: applying CSS style to log messages](https://resources.jetbrains.com/help/img/idea/2026.2/node_interactive_debugger_console_css.png)

For more information, refer to [Styling console output with CSS](https://developers.google.com/web/tools/chrome-devtools/console/console-write#styling_console_output_with_css).

