MCPcopy
hub / github.com/signalapp/Signal-Desktop / devDebugger

Function devDebugger

ts/util/assert.std.ts:13–17  ·  view source on GitHub ↗

* In development, starts the debugger.

()

Source from the content-addressed store, hash-verified

11 * In development, starts the debugger.
12 */
13function devDebugger(): void {
14 if (getEnvironment() === Environment.Development) {
15 debugger; // oxlint-disable-line no-debugger
16 }
17}
18
19/**
20 * In production and beta, logs a warning and continues. For development it

Callers 2

softAssertFunction · 0.85
assertDevFunction · 0.85

Calls 1

getEnvironmentFunction · 0.90

Tested by

no test coverage detected