#2 implement debugger

This commit is contained in:
Logan Cusano
2024-06-02 20:10:55 -04:00
parent e54c80a95b
commit f706ac89b4
15 changed files with 190 additions and 94 deletions

View File

@@ -1,3 +1,5 @@
import { DebugBuilder } from "../modules/debugger.mjs";
const log = new DebugBuilder("client", "client.express.server");
import express from 'express';
import http from 'http';
import path from 'path';
@@ -19,7 +21,7 @@ const startServer = (port, openSocket) => {
if (openSocket) isSetupComplete = true;
server.listen(port, () => {
console.log(`Server running on port ${port}`);
log.INFO(`Server running on port ${port}`);
});
};