-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
Cannot set breakpoints where I choose #16170
Comments
I am using babel and node in my project so it could be related to this #5728 |
|
|
Ok, so you're debugging with the react native extension? I don't know a lot about what issues you might see in that setup. I recommend filing an issue on their repo - https://github.com/Microsoft/vscode-react-native. |
Alright can do |
@roblourens @RyanMitchellWilson I'm receiving the same issue, the breakpoints are jumping when using node2 as type. I'm also using babel. When setting type to "node" it doesn't jump. Problem is that I see transpiled code though (babel). Heres my launch option:
.babelrc:
Heres a chronological display of how it looks (clicking on step over): |
@basickarl You probably just need to set |
Every time that I try to set a breakpoint it automatically moves it to another point in my file. It should just set the breakpoint on the line that I choose not whatever it thinks is best.
I chose line 307 here and it keeps moving it to line 316, which isn't even the same function. (You can see this at the bottom left of the screenshot). It should not be moving my breakpoint at all
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: