Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | 9BitStrider |
if(Engine.EditorHint) {
debug = true;
GD.Print("Debug Mode Active!");
} else {
GD.Print("Editor not detected. Starting without debug.");
}
Using the above to allow me to use debug mode when launching the game through Godot or VSC. However, the flag doesn’t seem to work. The above is in the game’s ready function at startup.