no-debugger Disallow debugger statements The debugger statement pauses execution when an attached debugger reaches it. Instead, you SHOULD remove the statement and set a breakpoint through the debugger when needed. - Category: suspicious - Level: warning - Fix: automatic - Scope: module Reported declare const active: boolean; if (active) { const resumed = true; debugger; } Accepted declare const active: boolean; if (active) { const resumed = true; } Prior art - ESLint ยท no-debugger language/linter/src/rules/suspicious/nodebugger.rs:6