this post was submitted on 08 Jun 2026
16 points (100.0% liked)

Programming

27223 readers
309 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

Though I primarily use vim, I got VSCodium so I could use it as a debugger since its much easier to set up. I am having alot of trouble getting any use out of it though, when I run the program the IDE gives me errors if I type in the debug console, and closes the terminal if I type in the integrated terminal. I've changed the config to allow integrated terminal, but nothing has changed.

Can anyone help me figure this out, or recommend an alternative tool for debugging a C# program?

Edit: I finally found my answer: https://discuss.cachyos.org/t/debugging-c-console-apps-on-linux-with-vs-codium-readline-input-not-working/16493

Unfortunately there is no FOSS way to debug a C# application in VSCodium. Might have to see what this lldb tool is.

top 8 comments
sorted by: hot top controversial new old
[–] nark3d@thelemmy.club 6 points 2 days ago (1 children)

The limitation is the debug adapter, not VSCodium itself. The FOSS C# adapter, netcoredbg, can't feed stdin through the integrated terminal. Only Microsoft's vsdbg does that, and its licence ties it to official VS Code and Visual Studio. The way round it that's worked for me is to skip launch mode and attach instead: start the program yourself in a normal terminal, then use an attach configuration to hook netcoredbg onto the running process. You get breakpoints and inspection, and since it's a real terminal the stdin behaves. Not as smooth as launch, but it stays fully FOSS.

[–] dr_robotBones@reddthat.com 1 points 2 days ago

Thank you, I'll have to research how to do that!

[–] FizzyOrange@programming.dev 1 points 2 days ago

Depending on your program you could mock out your terminal input.

[–] abbadon420@sh.itjust.works 2 points 2 days ago (1 children)

I use jetbrains ide's, but I imagine you can set your run environment with parameters.

[–] dr_robotBones@reddthat.com 1 points 2 days ago

It seems JetBrains or the proprietary version of VSCode are the only convenient options, but they're so intrusive...

[–] Feyd@programming.dev 1 points 3 days ago (1 children)
[–] dr_robotBones@reddthat.com 3 points 2 days ago* (last edited 2 days ago) (1 children)

Yes that's how I set it to integratedTerminal

Edit: That probably is the solution on VSCode, but I found out the only debuggers available on VSCodium do not have anyway to connect to the terminal

[–] Feyd@programming.dev 5 points 2 days ago

That could be. I think c# in vscode proper has some proprietary secret sauce :(