What happens to print() calls in exported versions?

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

Hi, I was just wondering, what happens to the print() functions that I use in my scripts to debug? If I were to leave them be and export my project, would they show up anywhere?

:bust_in_silhouette: Reply From: droc101

They will be saved if you enable file logging in Project Settings → Logging → File Logging.

If you export your game with debug enabled, a console window will open with the game, showing the same output that would be shown in the :“output” dock in the editor.

Thanks a lot for the information!

TheJokingJack | 2021-01-05 02:09