Using interactive Debugger Console | WebStorm (original) (raw)

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

Run JavaScript in the Debugger Console

  1. Start typing a statement at > in the input field. As you type, WebStorm suggests variants for completion.
  2. Select the relevant statement and press Enter. WebStorm shows its value in the debugger console.
    Node interactive debugger console: run JavaScript code
    WebStorm 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.

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.

Group messages

Apply CSS styles

Last modified: 03 September 2024