You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, once a debug function is exported from the debug module eg.:
vardebug=require('debug')('worker');
It's not possible to globally change enabled/disabled state of the debug function.
This'd come handy when you want to change the debug setup at runtime.
In other words, if a node process is established with disabled debug, I'd like to have an option to set the global DEBUG rule and enable some debug functions without restarting the node process.
The text was updated successfully, but these errors were encountered:
Currently, once a debug function is exported from the debug module eg.:
It's not possible to globally change enabled/disabled state of the debug function.
This'd come handy when you want to change the debug setup at runtime.
In other words, if a node process is established with disabled debug, I'd like to have an option to set the global DEBUG rule and enable some debug functions without restarting the node process.
The text was updated successfully, but these errors were encountered: