DEV Community

Discussion on: Debug your webApps using browser profiles

Collapse
 
mqd-uy profile image
Mauricio

Thanks for your explanation!
This approach creates a new profile per workspace I think.
You could use 'userDataDir' for a steady profile across workspace:

{
  "configurations": [
    {
      "name": "ListViewCommandSet debug EDGE",
      "type": "msedge",
      "request": "launch",
      "url": "{URL}",
      "webRoot": "",
      //...
      "userDataDir": "your-profile-name"        
      ]
    },
//....
]
}

This way the profile is created in a VSCode folder common for all projects:
'C:\Users\<user>\AppData\Local\Programs\Microsoft VS Code\<your-profile-name>\Default'
Enter fullscreen mode Exit fullscreen mode