So I do quite a bit of web development using Visual Studio, therefore my web app will launch using Edge each time I am debugging, but I still have to manually open the DevTools. Is there a way from Visual Studio to set Edge or Chrome to launch with DevTools already opened to save me time
Here're a few steps for you. It worked for me:
Step 1:
Select it.
Step 2:

Select Browser With....
Step 3:

Select Add....
Step 4:

In Program, enter your Edge executable path. If you are not sure, you can find it in Edge://version.
In Arguments, use --auto-open-devtools-for-tabs --user-data-dir=c:\your\another profile. If an Edge instance is kept open when you debug your application, devtools may not be opened. So, another profile is suggested.
In Friendly name, choose a descriptive name for this preference.
PS: You can also set this preference as default for convenience.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With