-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: vscodium+netcoredbg? #15
Comments
This was discussed in the Chickensoft discord. It seems possible in theory, but doesn't actually work yet afaik. See here and here I have commented here trying to get more information, as well: godotengine/godot#87595 |
This is awesome, thanks a ton for the info. I've joined the discord, will close this issue now. |
We can actually keep this open — it would be nice to support it as soon as it's possible. |
Here's a PR on the VSCodium C# extension that would enable this: |
Thank you! Once muhammadsammy/free-vscode-csharp#69 is merged in, we'll be able to proceed with creating launch.json options for this project and https://github.com/chickensoft-games/GodotGame |
Update: now waiting on muhammadsammy/free-vscode-csharp#72 |
Looks like that just got merged =D. It launched, which it wouldn't have done before the extension update, but it didn't hit a breakpoint. Also, the game itself didn't "really" launch. Very strange, it launches the editor--so I have 2 Godot editors open, but not the game. Not sure what's going on there. I just used the vanilla C# tasks.json:
For clarity on on Linux (Garuda). UPDATE UPDATE 2 - Don't actually need the arguments, which makes sense, those are Godot's, not .NET's. |
@GeneralProtectionFault would you mind sharing the working launch.json? Feel free to sanitize any hardcoded paths. That will give me something to reference when updating launch configs and documentation. |
@definitelyokay Sure, like I said, I just used what graniterocky put in the PR you linked above (muhammadsammy/free-vscode-csharp#72) -- except remove "-e" from the pipe args, that opens the Godot editor instead of running the project. Also, the debug arguments I put in here are Godot's and are not necessary. I assume you'd just put any relevant arguments for running Godot there if there are any.
|
Hello there Joanna, this repo looks so handy, I just grabed some vscode config files :) Thanks a ton!
Im wondering if you have tried a similar setup but using VSCodium? The debugger provided with Microsoft's C# extension is highly restrictive, licensed only to work with the official vscode build. A workaround for debugging C# projects in vscodium is to use Samsung's opensource netcoredbg package.
Do you, or anyone of your knowledge was able to make such setup work for Godot C# projects?
The text was updated successfully, but these errors were encountered: