Document other shell variable for debuging express#1048
Conversation
|
Hi @zombieleet, thanks for the addition! Can you talk about why it requires re-asigning the FD to put debug out into a file? This will redirect only debug output, but wont most people be alright with just normal piping to file |
|
@wesleytodd |
|
Oh, the debug module outputs on Seems to work with the normal |
|
Yes, that is right. But I see no reason why the default stream should be |
I think this is a common best practice for *nix systems, a program's debug output being on
This I completely agree with. And I would like to merge this, but I think adding the more complex example might make it harder for beginners to know what is going on. That is why I was hoping to simplify the example to just |
Specified
DEBUG_FDandDEBUG_COLORSshell variables to handle redirection of logs to a file and enabling/disabling color output respectively