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.

Make Release the default run configuartion

See original GitHub issue

Rather than debug

So if someone types dotnet run it is in release mode; if you run it in a debugger it can be Debug mode. If you run it as dotnet run --configuration Debug it can be in debug mode if you want to attach a debugger later; but by default it should be dotnet run --configuration Release

Else people will get the wrong idea about the performance or forget to use --configuration Release


Issue Analytics

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

github_iconTop GitHub Comments

benaadamscommented, Mar 17, 2016

Maybe just publish then? (If its not the default as @GuardRex suggests)

PureKromecommented, Apr 11, 2017

@piotrpMSFT Hi 👋 can you please elaborate on what you mean by this:

Defaults are aligned with csproj

do you mean that there’s a setting in your csproj files or something?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and edit run/debug configurations | Android Studio
To change this default, open Android Studio settings, and change Advanced Settings > Run/Debug > Temporary configurations limit. For more information about ...
Read more >
Visual Studio - how to change default build configuration ...
I believe the build configurations are listed alphabetically, and the first one is always selected when starting a new project.
Read more >
Set debug and release configurations in Visual Studio
In the Configuration list, choose Debug or Release. In the side pane, choose Linker > Debugging, then select options for Generate Debug Info....
Read more >
Run/debug configurations | IntelliJ IDEA Documentation
Configure the default values for a template​​ From the main menu, select Run | Edit Configurations. Alternatively, press Alt Shift F10 , then...
Read more >
Run/debug configurations | JetBrains Rider Documentation
From the main menu, select Run | Edit Configurations. Alternatively, press Ctrl Alt Shift 0R , then 00 . · Select the run/debug...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found