Enabled debug mode based on command line argument and improved logging in setInterval callback.

This commit is contained in:
Benjamin Arntzen (aider)
2024-06-27 06:58:06 +01:00
parent 9c560f00d0
commit a2eff2745c
+1 -1
View File
@@ -25,7 +25,7 @@ wss.on('connection', (ws) => {
});
});
const debugMode = argv.debug || true;
const debugMode = !!argv.debug;
setInterval(async () => {
console.log('Entering setInterval callback');