DEV Community

loading...

Discussion on: How do YOU debug

Collapse
jmau111 profile image
Julien Maury

Hi,

PHP => xdebug, custom logs
js => chrome tools, breakpoints, inspect, I don't use console.logor stuffs like that in file

I try to keep it as simple as possible so easy setup. However, I do think "complicated" setups can be useful sometimes especially if you need some profiling.

Collapse
waylonwalker profile image
Waylon Walker Author

honestly in js, I always console.log, if I want to go deeper, I right-click store as variable and inspect it from the console. I've wanted to setup a debugger before, but it seems like a lot of setup. Am I wrong in thinking that?

Collapse
pony profile image
Pony

Same here.
I also love to use console.log ))

Forem Open with the Forem app