Add remote debugging port to launch scripts (#14472)

This commit is contained in:
Charles Gagnon
2021-02-26 18:00:10 -08:00
committed by GitHub
parent 5d07a3272e
commit 8ce32215ba
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ set ELECTRON_ENABLE_STACK_DUMPING=1
:: Use the following to get v8 tracing: :: 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% --js-flags="--trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces" . %*
%CODE% . %* %CODE% . %* --remote-debugging-port=9222
popd popd

View File

@@ -41,7 +41,7 @@ function code() {
export ELECTRON_ENABLE_STACK_DUMPING=1 export ELECTRON_ENABLE_STACK_DUMPING=1
# Launch Code # Launch Code
exec "$CODE" . "$@" exec "$CODE" . "$@" --remote-debugging-port=9222
} }
code "$@" code "$@"