Evaluate Expressions When Debugging

How to check the value of an expression in WebStorm.

You can easily check the value of an expression when you are debugging using Evaluate Expression.

There are 3 ways you can use it:

  1. Click the debug toolbar button to launch it.
  2. Invoke the Evaluate Expression action ⌥⌘F8 (macOS) / Ctrl+Alt+F8 (Windows/Linux).
  3. Right-click in the editor and select Evaluate Expression.

Related Resources

Add and Remove Breakpoints Quickly
How to toggle breakpoints without using the mouse.
Getting Helpful Suggestions
Look out for suggestions from WebStorm! They can help you not to forget about an important thing.
See Return Values in Variables View
See what value a method returns.