From a8ca423cb76f97fa54fbe78c9df81de2eeb5691f Mon Sep 17 00:00:00 2001 From: NecroBread Date: Fri, 15 Dec 2023 12:17:52 +0200 Subject: [PATCH] update configs --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6162b92..317746d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "src/index.ts", "scripts": { "dev": "nodemon src/index.ts", - "debug": "nodemon --inspect src/index.ts", + "debug": "set DEBUG=express:* & nodemon src/index.ts --inspect=9001", "debug-docker": "nodemon --exec 'node --inspect=0.0.0.0:9229 --require ts-node/register src/index.ts'", "build": "tsc", "start": "node dist/index.js", diff --git a/tsconfig.json b/tsconfig.json index 4f4f353..e100eb5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -57,7 +57,7 @@ // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + "sourceMap": true /* Create source map files for emitted JavaScript files. */, // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ "outDir": "./dist" /* Specify an output folder for all emitted files. */,