server: child process plugin hint

This commit is contained in:
Koushik Dutta
2022-01-05 02:11:48 -08:00
parent 8a0dbd7238
commit eef8175acc

View File

@@ -260,7 +260,7 @@ export class PluginHost {
execArgv.push(`--inspect=0.0.0.0:${this.pluginDebug.inspectPort}`);
}
this.worker = child_process.fork(require.main.filename, ['child'], {
this.worker = child_process.fork(require.main.filename, ['child', this.pluginId], {
stdio: ['pipe', 'pipe', 'pipe', 'ipc'],
env: Object.assign({}, process.env, env),
serialization: 'advanced',