Mike Kinney
Mike Kinney

Reputation: 200

How do I configure Visual Studio to launch Chrome with --remote-debugging-port=9222 when debugging a service?

I want Visual Studio to launch Chrome with the command line parameter --remote-debugging-port=9222 when debugging my web application. This would enable me to connect to that browser from Visual Studio Code (which I know how to do).

How can I configure the command line parameters Visual Studio uses when launching a browser while debugging?

Upvotes: 3

Views: 2516

Answers (1)

Mike Kinney
Mike Kinney

Reputation: 200

Microsoft Visual Studio 2019 v16.2 addresses this issue. There is now a Browse With option in the IIS Express dropdown that allows you to configure launch parameters.

See Microsoft Edge Insider Support - This actually supports all browsers.

Upvotes: 5

Related Questions