How do I make an export for Windows, MacOS or Linux not have debug?

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

Every time I export my game, it has debug. How do I get rid of this?

What do you mean by “it has debug”?
I’m not aware of debug exports other than with custom templates.

Zylann | 2020-09-09 12:22

I am exporting with a custom template. I wanted to know how to remove it from them. I should’ve made my question a bit clearer.

703337 | 2020-09-10 04:20

:bust_in_silhouette: Reply From: Zylann

To use custom export templates without debug, you have to compile them in release mode without tools.
For example, see how it’s done for Windows: Compiling for Windows — Godot Engine (stable) documentation in English

You may also look into the sections nearby, steps are explained for every platform.