Skip to content

Stopping the debugger after Typescript compile error #157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bradrice opened this issue Feb 7, 2018 · 4 comments
Closed

Stopping the debugger after Typescript compile error #157

bradrice opened this issue Feb 7, 2018 · 4 comments
Assignees

Comments

@bradrice
Copy link

bradrice commented Feb 7, 2018

Is there a way to stop the debugger once it hits a compile error in typescript? If I select Launch Android it runs, hits a compile error and then sort of halts, but I don't see any way to start it again. Since it never launched to begin with, it seems I should just be able to hit the green triangle, but nothing happens and it seems the debugger is suspended.

@bradrice
Copy link
Author

bradrice commented Feb 8, 2018

I think this extension broke with Visual Studio Code 1.20. At least it won't run in my Windows 10 version of Visual Studio Code.

@MRoszakPL
Copy link

I have similar problem. I can't use debugger after Visual Studio Cod update to 1.20. I found and install 1.18 version of VSC (Windows 10, 64-bit) and debugger is working. I think as @bradrice that problem is probably caused by latest VSC update.

@ghost
Copy link

ghost commented Feb 10, 2018

This issue was present before the recent complete breaking of the 1.20 update.

The output shows an error of any kind, could be SASS or TS or java or adb, but the debugger loading animation is still running and there's no way to retry/cancel/stop/force stop other than to reload the window.

@ndinev
Copy link

ndinev commented May 16, 2018

Test scenario:

  • Create nativescript typescript project
  • Open it in VS Code
  • Open some .ts file and introduce error in it
  • From debug view use "Lunch on Android/iOS" to start build and deploy process
  • In "Debug console" look for "TypeScript compiler failed with exit code 1."
  • Confirm that progress bar in debug pane disappear
  • Confirm that there is no node process running
  • Now fix the error introduced earlier
  • Attempt again to "Lunch on Android/iOS"
  • App is successfully built and deployed

Build version: v.2018.5.15.1
Tested on: Windows 10, MAC OS 10.13.4

@ndinev ndinev closed this as completed May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants