001    /**
002     * Implements the CFML Function isdebugmode
003     */
004    package railo.runtime.functions.decision;
005    
006    import railo.runtime.PageContext;
007    import railo.runtime.ext.function.Function;
008    
009    public final class IsDebugMode implements Function {
010            public static boolean call(PageContext pc ) {
011                    return pc.getConfig().debug();
012            }
013    }