+1 vote

Hello,

I've just recently started looking into writing Editor plug-ins for Godot (mono version on Windows) and are having difficulties getting a single breakpoint triggering.

Is there any up-to-date guide that works nowadays?
I've tried a few for Visual Studio and Visual Code, but none of them have been useful so far. Godot settings (editor and compiler) are correctly setup, the plug-in structure is fine, loads up nicely in the editor, button works, debug text works, but still no breakpoints.

VS code with C#, Godot tools and launcher JSON file manages to break on scripts that are hooked up to the scene, but not in Tool/Editor scripts.

VS2022 (with Godot plug-in) fails to break when attaching the plug-in project to Godot, when setting the breakpoint VS states "no symbols". After following a guide I managed, by patching a project file, to get "play in editor" button in the toolbar, but nothing happens when it is pressed.

Some guides refers to scon and source code, executing any scon command results in some configuration error in scons/scripts/main.py (No SConstruct file found).

If you could guide me in the right direction, it would be great!

Best

Godot version 3.5
in Engine by (15 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.