We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c97818 + 34e51db commit 6b3c3f0Copy full SHA for 6b3c3f0
1 file changed
Readme.md
@@ -53,8 +53,8 @@ setInterval(function(){
53
54
#### Windows note
55
56
- On Windows the environment variable is set using the `set` command.
57
-
+ On Windows the environment variable is set using the `set` command.
+
58
```cmd
59
set DEBUG=*,-not_this
60
```
@@ -147,6 +147,16 @@ error('now goes to stdout via console.info');
147
log('still goes to stdout, but via console.info now');
148
149
150
+### Save debug output to a file
151
152
+You can save all debug statements to a file by piping them.
153
154
+Example:
155
156
+```bash
157
+$ DEBUG_FD=3 node your-app.js 3> whatever.log
158
+```
159
160
## Authors
161
162
- TJ Holowaychuk
0 commit comments