-
Notifications
You must be signed in to change notification settings - Fork 455
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
Breakpoints do not work with a react native setup in Visual Studio Code #212
Comments
@GeeWee I just tried this out and this seems to be working
|
Holy shit really? That's magical! Perhaps it has something to do with the new debugger protocol in node 8. If so, we should definitely update the readme. |
lol .. yeah. I was just setting it up to see if #306 fixed this but it seemed to work just fine even with the current version. If you can confirm this works for you as well, it will close one major issue |
Yeah it works ! Damn. I wonder if this only works in node 8. Either way we should update the readme - this is awesome. |
That should be simple - just gotta take one section out :) |
@GeeWee Every issue will be solved by itself... It's just the matter of time. |
* docs: unify package name styling * docs: use backticks for pkg@version * docs: remove `current limitations for vscode` & update the ToC * docs: add ToC
Breakpoints don't work in VSCode. If you use a
debugger
statement, it will break at the correct place, and show the correct sources, so the sourcemaps are being loaded and parsed.On every breakpoint VSCode reports:
breakpoint not ignored because generated code not found (source map problem?)
This issue is related to #209 - it is the same setup that works in webstorm.
Here are my config files.
launch.json
Tsconfig:
package.json>jest
.babelrc
I expect it to break at the correct places.
https://github.com/GeeWee/rn-typescript-example/tree/ts-loader-bug
Here, simply run the debug configuration. It will stop at the debugger; statement but will ignore any breakpoints.
The text was updated successfully, but these errors were encountered: