Skip to content

Debugging tRPC Code #8682

Closed Answered by mingzew
mingzew asked this question in Other
Discussion options

You must be logged in to vote

Ok figured it out actually -

  1. go to VSCode and run the debugger. There should be one setting present
  2. put "debugger" at where u want to debug
  3. open chrome running locally and "inspect" the code
  4. There's a green box next to the "inspect element" tool by the top left
  5. A new window opens, go there. (here's the tricky part) In connection tab, there are 2 entries for port 9229, delete one of them and everything works

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mingzew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant