microsoft / vscode-edge-debug2

This is a VS Code extension which helps you debug your JavaScript Code inside the Edge browser.
Other
37 stars 31 forks source link

Launch with default profil #186

Open KianoJ opened 4 years ago

KianoJ commented 4 years ago

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

ytechie commented 4 years ago

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

timbyu commented 3 years ago

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}" },