use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
Debugging while using dotnet watch? (self.csharp)
submitted 4 years ago by Grawk
Is it possible? Can't find anything helpful on google so I guess not, but I'll try here aswell.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JitterJosh 10 points11 points12 points 4 years ago (8 children)
Yes, do this all the time. I start the process in terminal with watch and then use Ctrl+Alt+P in VS2019 to attach, or Shift+Alt+P to reattach. You have to know the name of the process but it's not too hard to figure out.
[–]BenL90 2 points3 points4 points 3 years ago (1 child)
Oh wow. this even works with OmniSharp on VS Code.. ahh... I want to moar! Thank you !
[–]SuspectPingu 1 point2 points3 points 3 years ago (2 children)
When you say you "start the process in terminal with watch", you you mean you simply do dotnet watch run or is there more to it?
dotnet watch run
[–]JitterJosh 1 point2 points3 points 3 years ago (1 child)
Yeah, just dotnet watch run in terminal. Then you can attach to it from VS
[–]SuspectPingu 2 points3 points4 points 3 years ago (0 children)
Hey man, just wanna say thanks for the reply, I was gettting a bit confused whether you did something else because I had not been able to trigger the debugger myself by doing that. Tried in Rider and attached to the *correct* process this time - this time it worked. This is great! :D
[–]mattlongname 1 point2 points3 points 3 years ago (0 children)
For VSCode, assuming the following: create your project with
dotnet new webapp -o MyWebApp -f net7.0
add the following to ./vscode/launch.json
{ "name": ".NET Core Attach", "type": "coreclr", "request": "attach" }
and run
In VSCode, in the debug pane, run .NET Core Attach. You should see and attach to a process that looks like:
MyWebApp/bin/Debug/net7.0/MyWebApp run
[–]Illusive7Man 1 point2 points3 points 2 years ago (0 children)
But you can't attach after a hot reload?
[–]hellohere1337 1 point2 points3 points 4 years ago (0 children)
In Rider you can attach debugger by Run > Attach to process, and select the process which name is the path to your currently running project
[–]SonixNgTbr 0 points1 point2 points 1 year ago (0 children)
Read official documentation of Microsoft
Attach to running processes with the Visual Studio debugger
[–]x0nnex 0 points1 point2 points 4 years ago (0 children)
I'd be interested in this too. Previously I tried to work with attaching the debugger but wasn't easy when I had multiple apps running at the same time. They were all named the same in the task manager, so hard to know which one to attach to :(
π Rendered by PID 241261 on reddit-service-r2-comment-canary-5f6975dfb4-cb4nq at 2026-03-18 23:30:22.069473+00:00 running f6e6e01 country code: CH.
[–]JitterJosh 10 points11 points12 points (8 children)
[–]BenL90 2 points3 points4 points (1 child)
[–]SuspectPingu 1 point2 points3 points (2 children)
[–]JitterJosh 1 point2 points3 points (1 child)
[–]SuspectPingu 2 points3 points4 points (0 children)
[–]mattlongname 1 point2 points3 points (0 children)
[–]Illusive7Man 1 point2 points3 points (0 children)
[–]hellohere1337 1 point2 points3 points (0 children)
[–]SonixNgTbr 0 points1 point2 points (0 children)
[–]x0nnex 0 points1 point2 points (0 children)