From 8ce32215bae9698e80fe2387d38f67bad9148703 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Fri, 26 Feb 2021 18:00:10 -0800 Subject: [PATCH] Add remote debugging port to launch scripts (#14472) --- scripts/sql.bat | 2 +- scripts/sql.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sql.bat b/scripts/sql.bat index 463f8eeb9b..ff22654223 100644 --- a/scripts/sql.bat +++ b/scripts/sql.bat @@ -36,7 +36,7 @@ set ELECTRON_ENABLE_STACK_DUMPING=1 :: Use the following to get v8 tracing: :: %CODE% --js-flags="--trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces" . %* -%CODE% . %* +%CODE% . %* --remote-debugging-port=9222 popd diff --git a/scripts/sql.sh b/scripts/sql.sh index a218112118..9f74cdf68c 100755 --- a/scripts/sql.sh +++ b/scripts/sql.sh @@ -41,7 +41,7 @@ function code() { export ELECTRON_ENABLE_STACK_DUMPING=1 # Launch Code - exec "$CODE" . "$@" + exec "$CODE" . "$@" --remote-debugging-port=9222 } code "$@"