Skip to content

How to set up server debugging using Google Chrome browser

Christopher Keith edited this page Oct 9, 2022 · 15 revisions

Run server to run with debug switch

  • yarn debug:server
  • image

Connect

  • image
  • image

Allow Chrome to access your filesystem

  • image
  • Click "Allow" in banner at top of window (do for each folder)
  • image

Add debugger statement where you want to stop

  • pic to come You should see a server reload
  • pic to come

TODO: Debug

  • Ctrl-P to open file
  • Click on line number to set breakpoint
  • image
  • View variables, stack, step through, etc. in right pane
  • image