(self, el, options, indent)
return code
Compile `t-debug` expressions into a python code as a list of
        strings.

        The code will contains the call to the debugger chosen from the valid
        list.
Compile `t-debug` expressions into a python code as a list of
        strings.
Compile t - debug expressions into a python code as a list of strings .
def _compile_directive_debug(self, el, options, indent):
        """Compile `t-debug` expressions into a python code as a list of
        strings.

        The code will contains the call to the debugger chosen from the valid
        list.
        """
        debugger = el.attrib.pop('t-debug')
        code = []
        if options.get('dev_mode'):
            code.append(self._indent(f"self._debug_trace({repr(debugger)}, compile_options)", indent))
        else:
            _logger.warning("@t-debug in template is only available in qweb dev mode options")
        code.extend(self._compile_directives(el, options, indent))
        return code
def _compile_directive_debug ( self , el , options , indent ) : debugger = el . attrib . pop ( 't-debug' ) code = [ ] if options . get ( 'dev_mode' ) : code . append ( self . _indent ( f"self._debug_trace({repr(debugger)}, compile_options)" , indent ) ) else : _logger . warning ( "@t-debug in template is only available in qweb dev mode options" ) code . extend ( self . _compile_directives ( el , options , indent ) ) return code