I think you can use compiler.define [1]

[1] Compiler Options 
(apache.github.io)<https://apache.github.io/royale-docs/compiler/compiler-options>

From: Hugo Ferreira<mailto:hferreira...@gmail.com>
Sent: Saturday, November 12, 2022 1:31 AM
To: dev@royale.apache.org<mailto:dev@royale.apache.org>
Subject: Debug mode

Hi,

There is any way/global variable/etc ... to check if the code is running in
debug mode using VS Code ?

The reason is that I would like to show a specific error message with the
full exception on the screen only with debug mode.

Thank you,
Hugo.

Reply via email to