Skip to content

Commit a2e5b27

Browse files
authored
Merge pull request #12 from Martaver/patch-1
Fix launch.json to start chrome in a Sandbox
2 parents 022f633 + 97833e2 commit a2e5b27

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.vscode/launch.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"request": "launch",
88
"url": "http://localhost:3000",
99
"sourceMaps": true,
10-
"webRoot": "${workspaceRoot}"
10+
"webRoot": "${workspaceRoot}",
11+
12+
//This line is important, since it instructs chrome to run in a separate, sandbox instance.
13+
//This way, other running chrome instances won't prevent remote debugging from running.
14+
"userDataDir": "C:\\temp\\chrome-dev-instance"
1115
},
1216
{
1317
"name": "Attach to Chrome, with sourcemaps",
@@ -18,4 +22,4 @@
1822
"webRoot": "${workspaceRoot}"
1923
}
2024
]
21-
}
25+
}

0 commit comments

Comments
 (0)