This will always hide the debug messages. You should check for a request parameter, for example:

    #if ("$!{request.debug}" == '1')