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
import dotenv from "dotenv";
dotenv.config();
import debug from 'debug';
const logit = debug("myclient:trd");
console.log("DEBUG LIB:", debug.enabled("myclient:trd"));
console.log("DEBUG ENV:", process.env.DEBUG);
logit("This is a test debug message.");
output:
DEBUG LIB: false
DEBUG ENV: myclient:trd
It seems like debugging should be turned on, but it isn't.
The text was updated successfully, but these errors were encountered:
I'm sure I've done something painfully stupid here, but......
nodejs v20 script:
output:
It seems like debugging should be turned on, but it isn't.
The text was updated successfully, but these errors were encountered: