Open YogiCoder8888 opened 1 month ago
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/net8.0/Console7.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
Is not this mean you start MS debugger instead of netcoredbg? Could you please explain, how you configure to start netcoredbg binary?
Note, netcoredbg don't really have adapter for VSCode or VSCodium, we use dirty hack in order to launch debug session with adapter for MS debugger (MS C# extention) by override pipe and debugger binary. Not really sure it works with "request": "attach"
at all (was not able do this).
No, I am not using MS Debugger - it is not available or supported in VS Codium.
I am using this VS Codium extension:
https://github.com/muhammadsammy/free-vscode-csharp
Underlying it's uses netcoredbg
I have a .Net 8 Console App and when the debugger executes Debug.Writeline("...") the App exits with no errors or exception thrown. I am using VS Codium on Windows 11.
To reproduce the problem create a Console App with:
The code in Program.cs is simple:
Launch.json
tasks.json
Any help or pointers will be appreciated. Thank you!