Skip to content

Node.js based forum software built for the modern web

Revert "feat: add inspect argument"

Barış Soner Uşaklı32de562e7094
diff --git a/loader.js b/loader.js
index 50f79be5fc..0f80697633 100644
--- a/loader.js
+++ b/loader.js
@@ -106,10 +106,6 @@ function forkWorker(index, isPrimary) {
if (nconf.get('expose-gc')) {
execArgv.push('--expose-gc');
}
- if (nconf.get('inspect')) {
- execArgv.push('--inspect');
- }
-
if (!ports[index]) {
return console.log(`[cluster] invalid port for worker : ${index} ports: ${ports.length}`);
}