Skip to content

Commit

Permalink
Merge pull request #12 from Martaver/patch-1
Browse files Browse the repository at this point in the history
Fix launch.json to start chrome in a Sandbox
  • Loading branch information
artfuldev authored Oct 5, 2016
2 parents 022f633 + 97833e2 commit a2e5b27
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"request": "launch",
"url": "http://localhost:3000",
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
"webRoot": "${workspaceRoot}",

//This line is important, since it instructs chrome to run in a separate, sandbox instance.
//This way, other running chrome instances won't prevent remote debugging from running.
"userDataDir": "C:\\temp\\chrome-dev-instance"
},
{
"name": "Attach to Chrome, with sourcemaps",
Expand All @@ -18,4 +22,4 @@
"webRoot": "${workspaceRoot}"
}
]
}
}

0 comments on commit a2e5b27

Please sign in to comment.