diff options
author | 2023-08-19 22:11:48 -0700 | |
---|---|---|
committer | 2023-08-19 22:11:48 -0700 | |
commit | 360acf5a80d7e0191d13b87226c8122a633f701f (patch) | |
tree | ffd1a6376aa77a86165825ce54343f5062f7e21c | |
parent | d432dad666293d5cef02774d72b44f6a74d9d966 (diff) | |
download | bun-360acf5a80d7e0191d13b87226c8122a633f701f.tar.gz bun-360acf5a80d7e0191d13b87226c8122a633f701f.tar.zst bun-360acf5a80d7e0191d13b87226c8122a633f701f.zip |
Update BunDebugger.cpp
-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)) |