2 ms·
I think that most people share your pain, even if they have been doing mainly JavaScript for awhile. I know I do. Didn't see anyone mention Cloud9 which I thi
by ilaksh 15y ago
I think that most people share your pain, even if they have been doing mainly JavaScript for awhile. I know I do.
Didn't see anyone mention Cloud9 which I think will debug Node.js stuff on the server. People did mention console.log which honestly I end up relying on way too much. There is also the debugger in Chrome or Firebug.
Also there is TDD/BDD like Vows (vows-bdd) or Jasmine etc., which if you actually get into doing that (honestly I have tried but I usually don't) that would mean usually writing smaller amounts of code and testing them more immediately (unit or integration tests) which would mean that typos and other bugs are easier to isolate and correct.
I think people mentioned jslint. CoffeeScript makes JavaScript overall easier and less typo-prone I think.