Skip to content

Conversation

@ivanovit
Copy link
Contributor

@ivanovit ivanovit commented May 4, 2018

  • vscode seems to handle 'drive-letter' in both small letter and capital letter, this makes some conflict while dealing with breakpoints. Currently the _sourceMaps tree in sourceMapTransformer.ts has all paths with small letter but on the setBreakpoints method the debugger adapter receives a capital letter.

  • Use tree-kill to kill the tns process because process kill throws an error "Unknown signal: SIGQUIT". Also on windows only the parent process is killed which in our case is the shell process which has started the "tns debug command". The actual node process remains.

  • Increase time before "readyForConnection" event because in my tests it seems that 500 milliseconds are not enough.

  • Remove some obsolete properties from launch.json and added a composite configuration for easier start/debugging.

- vscode seems to handle 'drive-letter' in both small letter and capital letter, this makes some conflict while dealing with breakpoints. Currently the _sourceMaps tree in sourceMapTransformer.ts has all paths with small letter but on the setBreakpoints method the debugger adapter receives capital letter.

- Use tree-kill to kill the tns process because process kill throws an error "Unknown signal: SIGQUIT". Also on windows only the parent process is killed which in our case is the shell process which has started the "tns debug command". The actual node process remains.

- Increase time before "readyForConnection" event because in my tests it seems that 500 milliseconds are not enough.

- Remove some obsolete properties from launch.json and added a composite configuration for easier start/debugging.
@ivanovit ivanovit self-assigned this May 8, 2018
@ivanovit ivanovit merged commit 1ba5ea3 into master May 8, 2018
@ivanovit ivanovit deleted the iiivanov/fix-ts-breakpoint-windows-2 branch May 8, 2018 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants