Skip to content
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

vscode debugging #53

Open
butcheryl opened this issue Mar 30, 2018 · 6 comments
Open

vscode debugging #53

butcheryl opened this issue Mar 30, 2018 · 6 comments

Comments

@butcheryl
Copy link

Hi, David

I use vscode-react-native debugging

How to add breakpoint in vscode?

vscode tip me map not found

Thanks

@ds300
Copy link
Owner

ds300 commented Mar 30, 2018

Hi! Thanks for the report! :)

I tried it and found a similar error, so it's not just you at least. The normal react-native debugging works (I tried with the chrome devtools or the react-native debugger app on macOS), so i can only assume it's down to a difference with how the vscode debugger hooks itself up to the packager.

Unfortunately I don't have time to look deeper into this for you. Please report back if you find a solution!

@Chrisigrimm
Copy link

Hello there,

i have sadly the same problem.
If you find any solution, please let me know.

Thanks and Kind Regards,
Keyjin

@jwargo
Copy link

jwargo commented Apr 19, 2018

Just like with any other IDE, you simply click in the margin to set the breakpoint. You can also highlight the line and press the F9 key.

@jsslai
Copy link

jsslai commented Jun 7, 2018

Debugging is working for me but sometimes I'm unable to set breakpoint to a specific line and it might jump elsewhere. Do you know what is causing that?

@animaonline
Copy link

@jsslai I'm having the same issue, I think it has something to do with the source maps not being generated correctly. Were you able to solve your problem?

@jsslai
Copy link

jsslai commented Nov 8, 2018

@animaonline No. I usually add extra console.log rows until VS code is able to add the breakpoint. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants