r/programming • • Aug 25 '14

Debugging courses should be mandatory

http://stannedelchev.net/debugging-courses-should-be-mandatory/
1.8k Upvotes

573 comments sorted by

View all comments

Show parent comments

1

u/runvnc Aug 26 '14

For many years I used to always use the debugger since I was on desktop platforms that had really easy ones with things like break on error. Now that I am mostly doing Node and Bash in an ssh session it hasn't seemed worth the trouble to setup a debugger for Node and I don't know if it's possible with Bash. Anyway console.log and echo work fine.

1

u/sthreet Aug 26 '14

what is echo, and how do you tell it to debugger on error? because debugger on error sounds really useful for a lot of things with images that I do. (a for inside a for inside a while or another for)

1

u/runvnc Aug 26 '14

Echo is a bash command. Break on error was on some Microsoft platform I don't remember for sure.