diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bun.js/bindings/BunDebugger.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bun.js/bindings/BunDebugger.cpp b/src/bun.js/bindings/BunDebugger.cpp index 31cc1c778..41001a8f2 100644 --- a/src/bun.js/bindings/BunDebugger.cpp +++ b/src/bun.js/bindings/BunDebugger.cpp @@ -426,7 +426,9 @@ extern "C" void Bun__ensureDebugger(ScriptExecutionContextIdentifier scriptId, b BunInspectorConnection::runWhilePaused(globalObject, isDoneProcessingEvents); }; } - waitingForConnection = true; + if (pauseOnStart) { + waitingForConnection = true; + } } JSC_DEFINE_HOST_FUNCTION(jsFunctionCreateConnection, (JSGlobalObject * globalObject, CallFrame* callFrame)) |