On 02/06/2011 09:02 PM, Jorge wrote:
On Feb 6, 7:49 am, אריה גלזר<[email protected]> wrote:
Hey
I've started playing with Node.js these last 2 weeks, but I've run into a
pickle - I'm in need of better development tools.
For now I'm using NPP, which is fine for small-scale JS development. But I'v
found myself in need of a debugger. So far the best I've found was Eclipse +
Chromium SDK, but it is far from useful - you can't add breakpoints
beforehand, the files are unorganized, and it's colors can't be configured
(which is a bitch when your color scheme is dark and it's font is black).
So I was wondering what tools you use to develop Node.js apps (from
presentations I've noticed many use Vim - I am willing to make a switch if
it's got bonuses over NPP - but I need something more than syntax
highlighting and code-completion - but let's not start a "my editor is
better" post).
Is a debugger still too much to ask for currently? should I simply log stuff
to the console?
npm install node-inspector gives you the same (gorgeous) debugger
that's in Chrome/Safari. See: http://www.youtube.com/watch?v=AOnK3NVnxL8
and Danny's repository @github: https://github.com/dannycoates/node-inspector
--
Jorge.
I am also using node.js and find myself in trouble when it comes to
debugging. I am writing a http server and restarting it for typos and
misspelled variables sucks. Though I am now used to the console.log and
it meets my needs and when it comes to some terrible mistake like
miscalculations i use a custom debug function attached to
"process.nextTick". It really would be awesome if we had a better
resource for node development, because the current documentation lacks
search features, and user feedback (like in php nad jquery where you can
see user comments in the docs). I am hoping for an improvement in
nodejs.org and not so much for editor support.
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]