mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-22 21:17:35 +01:00
Fix --prof-startup never being able to profile renderer/extension host (#307849)
* Pass only the port to --remote-debugging-port and --inspect-brk-extensions * Also remove host from --inspect-brk
This commit is contained in:
@@ -385,9 +385,9 @@ export async function main(argv: string[]): Promise<void> {
|
||||
|
||||
const filenamePrefix = randomPath(homedir(), 'prof');
|
||||
|
||||
addArg(argv, `--inspect-brk=${profileHost}:${portMain}`);
|
||||
addArg(argv, `--remote-debugging-port=${profileHost}:${portRenderer}`);
|
||||
addArg(argv, `--inspect-brk-extensions=${profileHost}:${portExthost}`);
|
||||
addArg(argv, `--inspect-brk=${portMain}`);
|
||||
addArg(argv, `--remote-debugging-port=${portRenderer}`);
|
||||
addArg(argv, `--inspect-brk-extensions=${portExthost}`);
|
||||
addArg(argv, `--prof-startup-prefix`, filenamePrefix);
|
||||
addArg(argv, `--no-cached-data`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user