Request: Add small note in README for using debug in child processes #811
Labels
help-wanted
This issue has an actionable item
pr-welcome
This issue has an approved change; a pull request would be appreciated
Hi,
Due to the
process.isTTY
check, it can happen that colors are not shown in child process whenstderr
is piped.chalk/supports-color#94 (comment) gave an easy solution to fix this problem.
Request: It would be nice if the readme would mention this workaround.
example code from my project, where a worker with the actual server is forked and passed to node repl. Without setting
DEBUG_COLORS: 1
, there won't be any colors 😿 .The text was updated successfully, but these errors were encountered: