Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DevTools Feature Request] Break on Warnings #19045

Closed
sebmarkbage opened this issue May 29, 2020 · 2 comments · Fixed by #19048
Closed

[DevTools Feature Request] Break on Warnings #19045

sebmarkbage opened this issue May 29, 2020 · 2 comments · Fixed by #19048

Comments

@sebmarkbage
Copy link
Collaborator

sebmarkbage commented May 29, 2020

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

@bvaughn
Copy link
Contributor

bvaughn commented May 29, 2020

What is "Status: New" haha

@bvaughn bvaughn self-assigned this May 29, 2020
@bvaughn
Copy link
Contributor

bvaughn commented May 29, 2020

Looks like Webpack Terser is removing any debugger statements.

terser/terser#717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants