chore: remove missed debugger

This commit is contained in:
Alexis Tyler
2020-11-20 09:24:18 +10:30
parent 6af8ff22c7
commit e9d18a7590

View File

@@ -248,13 +248,12 @@ export const loadServer = async(name: string, server: Server): Promise<void> =>
// On process exit
exitHook(async() => {
// Stop the server
// Ensure we go back to the start of the line
// this causes the ^C the be overridden
process.stdout.write('\r');
debugger;
coreLogger.info('Stopping server');
if (process.env.DEBUG) {
// Ensure we go back to the start of the line
// this causes the ^C the be overridden on a CTRL+C
process.stdout.write('\r');
coreLogger.info('Stopping server');
}
// Stop the server
await server.stop();