how to turn debugging off

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By JimG

I had some issues yesterday with scenes, and while fumbling around, turned debugging on (only, I don’t remember how—thank my first cancer’s second metastasis, to my brain, for that one). Well, I got the answer here, but now I can’t run the project (F5). The play window gives the game’s name and [DEBUG], but doesn’t actually show anything.

When I use the play scene (F6) option, it works just fine. I can see the highly unstable stack of crates fall just like they’re supposed to. But with F5, just a grey screen that doesn’t do anything.

I’ve looked through the manual in the debugging section, and didn’t find an answer on how to turn debugging on/off … only how to use it when it’s on. Same on Youtube.

So how do I turn debugging off so I can get this to run if I either use F5 or the Play (|>) button on the upper right?

Thanks,
–jim

:bust_in_silhouette: Reply From: Calinou

When I use the play scene (F6) option, it works just fine. I can see the highly unstable stack of crates fall just like they’re supposed to. But with F5, just a grey screen that doesn’t do anything.

You need to define a main scene in the Project Settings (Application > Run > Main Scene). Also, make sure the scene was saved with the .tscn or .scn file extension, not .tres or .res which may cause issues down the line.

So how do I turn debugging off

Export the project and make sure to uncheck Export with Debug at the bottom of the file dialog that appears just before exporting the project.

I’m just starting (this afternoon) the third part of the tutorial, which is where the main scene is set, and after posting this,I was wondering if that might be the problem. I think most people use the phrase, walking through tutorials … I’m crawling through this one to make sure I soak it all up. :slight_smile: One afternoon, one 15 minute tutorial (and, if I can’t find answers to questions via search, Godot 3.2.2 docs, or Youtube tutorials, I’ll probably be asking more beginner-level questions here).

Thanks!

JimG | 2020-07-16 12:40