nativescript-community / nativescript-vscode-extension

A Visual Studio Code Extension for NativeScript
https://www.nativescript.org/visual-studio-code
Apache License 2.0
82 stars 32 forks source link

Fix debugger hangs if build of app fails #208

Closed ivanovit closed 5 years ago

ivanovit commented 6 years ago

We wait for port to attach from the CLI and if the port is null we stop the attach process. If the CLI exit with non zero code we send empty port so the debugger is stopped. Now stop debugging each time CLI exits when it's an initial start state.

Fixes https://github.com/NativeScript/nativescript-vscode-extension/issues/206