feat: inspect
This commit is contained in:
parent
3c3e5bf79a
commit
279db3e018
|
@ -42,6 +42,9 @@ config.module.rules[3].use.options.paths.push(
|
|||
path.resolve(__dirname, 'server'),
|
||||
);
|
||||
const nodeArgs = ['--preserve-symlinks'];
|
||||
if (process.argv.find((arg) => '--inspect' === arg)) {
|
||||
nodeArgs.push('--inspect');
|
||||
}
|
||||
if (process.argv.find((arg) => '--prof' === arg)) {
|
||||
nodeArgs.push('--prof');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user