-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
*Vs Code* launch example not working #688
Comments
Add the $workspaceRoot to your launch config's args:
|
@igimanaloto |
|
I have tested the debug configuration in our docs to confirm that it works with breakpoints. I tweaked our documentation here: #1466 Closing as I believe no further action is required. Improvements to our documentation can be submitted as pull requests, and Discussions can be used for more open-ended discussion and tech support around debugging. |
In the
README.md
an example of how to use ts-node with Vs Code will execute code but not debug code which is what thelaunch.json
file is for I believe.Please update the example to use the following configuration which will use ts-node to execute and debug the current typescript file
With this config breakpoints will be hit
No need to specify
sourcemaps
With example Code attachs to transpiled javascript
Thank you.
The text was updated successfully, but these errors were encountered: