Change the #! line at the top to: #!/usr/bin/env node debug
In vim, you can probably just type this: A debug<Esc>:wq
Then put a "debugger" line in your code where you want it to drop into
the debugger.
> --
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en.
>