How to make debugger open a browser with remote debugging for console apps? #28163
Unanswered
ivan-prodanov
asked this question in
General
Replies: 1 comment
-
Found the answer. The debugger is looking for the following in the csproj: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given a standard launchSettings.json file in a console app with a configuration that runs the browser ("launchBrowser": true), inspectUri etc. The debugger will ignore the launchBrowser setting completely.
I assume this is because the Sdk is Microsoft.NET.Sdk and not Microsoft.NET.Sdk.Web. Does the debugger check for that particular string in the .csproj file or is it a property within the Microsoft.NET.Sdk.Web targets that lets the debugger know it should launch a browser session? How does the debugger know?
Beta Was this translation helpful? Give feedback.
All reactions