Skip to content

Commit e6caf2b

Browse files
Keen Yee Liaukyliau
authored andcommitted
fix: do not pass execArgv to ngcc process
Ngcc process will fail when the debugger is already attached to the main process because it inherits `execArgv` from the parent process by default.
1 parent da1acba commit e6caf2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/ngcc.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export async function resolveAndRunNgcc(tsconfig: string, progress: Progress): P
4848
{
4949
cwd: resolve(cwd),
5050
silent: true, // pipe stderr and stdout so that we can report progress
51+
execArgv: [], // do not inherit flags like --inspect from parent process
5152
});
5253

5354
let stderr = '';

0 commit comments

Comments
 (0)