Skip to content

[DevTools Feature Request] Break on Warnings #19045

Closed
@sebmarkbage

Description

@sebmarkbage

It'd be nice to have a toggle to pause the debugger when warnings fire so you can inspect the stack as it's happening.

console.error = function() {
  ...
  if (isBreakOn) {
    debugger;
  }
}

See #19044

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions