Debugging JavaScript

Overview

Console shortcuts

Logging methods

Sometimes inefficient but very reliable. See Console API Reference.

Filtering logs

Debugging with Sources panel

Snippets

More breakpoints

Live Expressions

  1. Open Console
  2. Click the Eye Of Sauron Create Live Expression button
  3. Right-click Reveal In Elements Panel

Monitor the values of arbitrary expressions in the Console.