Debugging and setting breakpoints in VS Code #2750
alexwork1611
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm a big fan of breakpoints when developing, so I tried doing that in one of the examples (https://github.com/TanStack/router/tree/main/examples/react/with-trpc-react-query). I tried setting a breakpoint in VS Code and here's what happened:
I tried setting a breakpoint:

The dot didn't get red:

I went to the breakpoints view and found my breakpoint:

I clicked the breakpoint and here's where it took me:

I understand that there's transpilation going on under the hood, but is there a way to get a WYSIWYG-type of breakpoint setting?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions