allow debugging cli process

This commit is contained in:
Joao Moreno
2016-10-24 10:00:30 +02:00
parent 54c2b18e75
commit c57061115c
2 changed files with 10 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ function code() {
VSCODE_DEV=1 \
ELECTRON_ENABLE_LOGGING=1 \
ELECTRON_ENABLE_STACK_DUMPING=1 \
"$ELECTRON" "$CLI" . "$@"
"$ELECTRON" --debug=5874 "$CLI" . "$@"
}
code "$@"