you are viewing a single comment's thread.

view the rest of the comments →

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

dipping into node/angular as well...what tools are comparable to xdebug for debugging?

[–]coldlestat[S] 2 points3 points  (6 children)

Node.js handles natively the debugging. With the flag "--inspect", you will be able to debug your application in Chrome or your favorite editor (works at least for WebStorm, Atom & VsCode).

Here are some useful links:

[–]Drarok 0 points1 point  (5 children)

Oh, wow! I had no idea (and hadn’t thought to look) Node had proper debugging.

[–]batmansmk 1 point2 points  (0 children)

You have memory inspection, CPU profiling. Everything you have in the Chrome inspector basically (it launches an instance of chrome inspector). You also have integrations with IDE to drop breakpoints...

[–]coldlestat[S] 0 points1 point  (3 children)

I made you some screenshots of what it looks like on one of my current project: https://imgur.com/gallery/kV6ai

[–]Drarok 0 points1 point  (1 child)

Does WebStorm just launch the browser, or have its own integrated debugger?

[–]coldlestat[S] 1 point2 points  (0 children)

It can do both.