Topic: csript release or debug?

Is there a function available to check whether a script is compiled as  release or debug version, so that we can enable error logs if it is and disable them if it is not. It would be easier than changing a boolean in the source code or something like that

WHen the day comes to a close,
I lay down on my bed, in happy repose;
I think over the events of the day,
And a little bit to myself I say, Well I feel better!

Re: csript release or debug?

Unfortunately, as far as I know, no such function has been implemented yet. You are right that having one would probably be more convenient.