# Live Edit in Node.js applications

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

> **TL;DR**
> Required plugins:
>
>
>
> `JavaScript and TypeScript`, `JavaScript Debugger`, `Node.js` -    the plugins are bundled with RubyMine and enabled by default.
>
>
>
>
>
> `JavaScript and TypeScript`, `JavaScript Debugger` -    the plugins are bundled with RubyMine and enabled by default.
>
>
>
> `Node.js`, `Live Edit` -    install the plugins on the Settings | Plugins page.

> **Tip:**
> Live Edit is available only during a [Node.js
> debugging  session](running-and-debugging-node-js.html#node_debugging_overview) in [Google Chrome](http://www.google.com/chrome/) and in other [Chromium-based browsers](https://www.chromium.org/).
>
>
>
> Learn more from [Live Edit in HTML, CSS, and JavaScript](live-editing.html).

With the Live Edit functionality, the changes you make to your HTML, CSS, or JavaScript code are immediately shown in the browser without reloading the page.

Live Edit works for other file types that contain or generate HTML, CSS, or JavaScript.

By default, Live Edit is enabled only in HTML and CSS files, but you can [enable it in
JavaScript files](#ws_node_debug_live_edit_enable_for_js) as well.

In the example below, the `index.pug` file is compiled into and HTML file in the runtime. During a debugging session, the changes that you make to `index.pug` are reflected in the browser.

[Video](https://resources.jetbrains.com/help/img/idea/2026.3/ws_node_debug_live_edit.mp4)

Procedure: Before you start

1. Make sure you have [Node.js](http://nodejs.org/)  on your computer.

2. Make sure the JavaScript and TypeScript, JavaScript Debugger, and Node.js required plugins are enabled on the Settings | Plugins page. For more information, refer to [Managing plugins](managing-plugins.html).

3. Install and enable the Live Edit plugin on the Settings | Plugins page, as described in [Installing plugins from
JetBrains Marketplace](managing-plugins.html#install_plugin_from_repo).

Procedure: Enable Live Edit

1. Press `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` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) to open settings and then select `Build, Execution, Deployment | Debugger | Live Edit`.

2. By default, the Only HTML and CSS option is selected. To enable Live edit in JavaScript as well, select the JavaScript, HTML and CSS option.

3. Select Update Node.js application on changes.   Specify the time-delay between changing the code in the editor and showing this change in the browser: accept the default value `300 ms` or specify a custom value using the spin box next to the corresponding field.

4. If necessary, enable tracking changes in files that are compiled into JavaScript, HTML, or CSS. These can be, for example, TypeScript, Sass, SCSS, `.pug` or other files.

Procedure: Use Live Edit

1. [Set the breakpoints](using-breakpoints.html) where necessary.

2. Create a compound Node.js + JavaScript Debug run/debug configuration as described in [Create a two-in-one Node.js+JavaScript debug run/debug configuration](node-debug-server-client.html#node_debug_server_and_client_create_run_config_steps).

3. Start a debugging session as described in [Start a session to debug the server and the client code](node-debug-server-client.html#node_debug_server_client_debug_session).

4. In the Debug tool window, that opens, [step through the program](stepping-through-the-program.html). When you reach the client-side code, the browser opens. As you step, the appearance of the page changes. Update your code as necessary and view how the updates are reflected in the browser on stepping. changes.

## See also

### Procedures

[Debug JavaScript in Chrome](debugging-javascript-in-chrome.html) [View actual HTML DOM](viewing-actual-html-dom.html) [HTML](editing-html-files.html)

