isDevToolsEnabled property

bool isDevToolsEnabled

Whether to emit code that supports developer tooling.

There are two ways to enable this flag:

  1. Passing --define=ENABLE_DEVTOOLS=true.
  2. Adding a specific file to the appropriate allow-list.

See _CompileContext.isDevToolsEnabled for implementation details.

Implementation

bool get isDevToolsEnabled;