-
Notifications
You must be signed in to change notification settings - Fork 12
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
can not add breakpoints #191
Comments
Thanks for reporting the issue! Seems like the capitalization in the drive name throws vscode off. I'll make sure to test this a bit more on Windows. Just out of curiosity, which one is the correct one? Is your |
WINDOWS system path does not distinguish between uppercase and lowercase The problem I'm having is that my code path seems to be repeated twice, and the directory doesn't even exist The part on my screenshot framed in red is correct |
Got the same problem. When trying to set a breakpoint it can't find the location. VS Code reports file location as workspacefolder+fullsourcefilepath - the full path of course already containing the workspace root, just like in @whp98 screenshot above. On win11, node 20.5 |
Thanks for the additional information. It seems that this issue might actually be caused by the sourcemap path generation or the vscode path mixing. I'll try to investigate on a Windows machine on my end. |
Likely related to this issue:
Oh boy, this issue is bigger than I thought. Seems like we are running into bugs from 2016, where modules are loaded twice depending on drive letters... |
I just published a pre-release with a potential fix included. You can switch to this version through VS Code, more info here. Please try version |
Just tried with the 1.2.1 pre-release, unfortunately still getting the same errors... When the debugger attaches massive dump of path mismatches for the sourcemaps: And when you try to set a breakpoint: Hope this helps a little, thanks for your efforts trying to fix this! |
I'm still having this exact problem with v 1.2.1 on Windows, any progress on a fix (or work around)? |
It has been months and this issue is still not fixed is it even possible to debug in vscode with expo |
don't know why this is not mentioned anywhere this is kind of stupid tbh |
same issue,someone help? |
same here |
Description of the bug
How would you shortly summarise the issue?
i add a breakpoints to app.js , but vscode say can not add some breakpoints
To Reproduce
What steps did you perform which led to this issue?
3.vscode Code Doctor show wrong code path
Expected behavior
i can add breakpoint in vscode and debug the app
Actual behavior
not working
Additional context
Can you further explain the issue? E.g., information about version/environment or screenshots.
The text was updated successfully, but these errors were encountered: