question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IntegratedConsoleDebugging project capability not respected

See original GitHub issue

Visual Studio Version: 16.2.0

Project Type ASP .Net Core 2.2

Summary: There is an ‘IntegratedConsoleDebugging’ project capability that could be detected to decide whether or not to launch inside the integrated console, but it isn’t used. See issue 3667 (which indicates that the ‘IntegratedConsoleDebugging’ should be used) and the resolution (which doesn’t check for the project capability)

The only way to opt out of the integrated console debugging experience appears to be to select the ‘Automatically close the console when debugging stops’ debug option.

Expected Behavior: Check the project capabilities to see if ‘IntegratedConsoleDebugging’ is included. If not, expect that the app will not be launched for debugging in the integrated console.

Actual Behavior: Regardless of whether or not the app has ‘IntegratedConsoleDebugging’ project capability specified, it ends up being launched for debugging in the integrated console.

User Impact: The ‘Automatically close the console when debugging stops’ debug option can’t be specified at the project level and isn’t very flexible. Making use of the ‘IntegratedConsoleDebugging’ capability as a requisite for launching in the integrated console would provide flexibility for VSIX extensions to temporarily remove the capability and bypass the integrated console for special launches (temporarily) without needing to fiddle with an IDE-wide option that actually gets persisted (and therefore would cause problems if VS suddenly crashed without undoing the change to the IDE option).


Update: Similarly DebugLaunchOptions.IntegratedConsole isn’t specified as a debug options flag, despite the launch taking place inside the integrated console

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
aodlcommented, Oct 30, 2019

Thanks @davkean, here’s a link to the tracker item

0reactions
davkeancommented, Oct 29, 2019

@aodl Can you file a bug via Help -> Send Feedback -> Report a Problem and I’ll route to them? They don’t track bugs here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntegratedConsoleDebugging project capability not ...
Create a new Asp.Net Core project. Check that the project system hasn't registered IntegratedConsoleDebugging capability, and if so, remove it. Set the launch ......
Read more >
Debugger Not Stopping at Breakpoints in VS Code for Python
Every time I try to use the debugger, it just skips over any breakpoints that I have set and runs the program like...
Read more >
JavaScript Debugging Now Built-In to VS Code
Microsoft has created a built-in JavaScript debugger for Visual Studio Code, the wildly popular, open source-based, cross-platform code ...
Read more >
How To Debug Node.js with the Built-In Debugger and ...
In your terminal, run the node command with this debugger option as follows: ... The debugger then shows us a snippet of code,...
Read more >
Debugging
Back-end debugging is debugging of C# code schemas, for example, existing base schemas, custom configuration classes, web services, etc. Execute back-end ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found