Because then I'd have to do "node debug script.js debug" because I
want to be in debug mode plus I need to know I'm in debug mode. Unless
there's a way to send an app into debug mode via code? So I could just
do "node script.js debug".




On Feb 25, 7:02 pm, dolphin 278 <[email protected]> wrote:
> Why not pass it as command line argument?
> ---------
> Boris Egorov
> skype/gtalk/nickname: dolphin278
> mobile: +7 905 728 1543
>
> On Fri, Feb 24, 2012 at 7:21 PM, Sean Bannister <[email protected]>wrote:
>
>
>
>
>
>
>
> > I was wondering if there's a way to check if node.js is running in
> > debug mode "node debug script.js" so I can send extra debug
> > information to the console when it is.
>
> > --
> > Job Board:http://jobs.nodejs.org/
> > Posting guidelines:
> >https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to