Quickly enable or disable debug draw calls (SOLVED)

Is there any build setting or shortcut to toggle all debug (text and line draw) calls to the @render socket when:

a) building (ctrl+b) from the editor?
b) bundling a release application?

A code-level option is potentially using some global property and wrapping all debug calls, but am wondering if an engine-level knob already exists for this.

There’s the is_debug flag in the engine info table:

You could modify your render script and get this value and not call the render.draw_debug3d() function if it is false

Thanks, @britzl!