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 "$@"