[Laszlo-dev] declarative test for debug?

P T Withington ptw at pobox.com
Wed Sep 24 16:47:51 PDT 2008


There's a request to have something like that:

http://jira.openlaszlo.org/jira/browse/LPP-6982

If you are in script code you can say:

if ($debug) {
   ...
}

and that will get compiled away in non-debug.

On 2008-09-24, at 19:35EDT, Lorien Henry-Wilkins wrote:

> Is there a way to do a declarative test to determine if the debugger  
> is on? I'm looking for something like:
>
> <switch><when runtime="dhtml"></when>
>
> only test for debug instead of runtime
>
> Thanks,
> Lorien



More information about the Laszlo-dev mailing list