Skip to main content
Option: transforms.dropDebugger

What it changes

Removes every debugger statement.
Removing every debugger statement is the point, so this changes behavior.

Before and after

Configuration

Run this transform by setting transforms.dropDebugger to true:
obfuscate.mjs

View the implementation

Open the TypeScript implementation on GitHub.

Read the behavior tests

Review behavior checks and cases this transform leaves alone.
Last modified on August 26, 2026