microsoft/vscode-edge-debug2

Launch with default profil

MGMehdi opened this issue · 2 comments

Hello

When I start "launch" debbug, it open Edge in new window with a default profil
The first Edge is with my profil
image

The second Edge
image

Same issue here. It makes the extension useless for what I'm trying to do.

It took me a long time to find this setting but if you add a line like this to your launch profile you should get what you want:
"userDataDir": "< directory >"

You can set the value of "userDataDir" to any directory you want. The profile will be saved and loaded from that directory including extensions, user data and passwords...

mine looks like this:
{
"name": "Launch Edge",
"userDataDir": "${env:HOME}/debugUser",
"request": "launch",
"type": "pwa-msedge",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
},