From 9c4f71259364b3ca8c46697ee4c1da8ad3e87ab9 Mon Sep 17 00:00:00 2001 From: "zubkov.pavel8" Date: Tue, 17 Dec 2024 23:06:13 +0300 Subject: [PATCH] $mol_build_server: Add --inspect for spawner nodejs processes --- build/server/server.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/server/server.node.ts b/build/server/server.node.ts index c3ad3f3fa45..cbbeccd3227 100644 --- a/build/server/server.node.ts +++ b/build/server/server.node.ts @@ -354,7 +354,7 @@ namespace $ { const server = $node['child_process'].spawn( 'node', - [ '--enable-source-maps', '--trace-uncaught', `./${path}/-/node.js`, ... args ], + [ '--inspect', '--enable-source-maps', '--trace-uncaught', `./${path}/-/node.js`, ... args ], { stdio: [ 'pipe', 'inherit', 'inherit' ], }