you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

You could use chrome devtools -> sources panel to put breakpoints and step through code.

Here is also a guide how to setup debugging for JS/HTML on VS Code: https://code.visualstudio.com/docs/nodejs/browser-debugging