{% extends "base.html" %} {% block title %}{{ _('Debugger - ') + function_name }}{% endblock %} {% block init_script %} try { require( ['sources/generated/debugger_direct'], function(pgDirectDebug) { var pgDirectDebug = pgDirectDebug || pgAdmin.Tools.DirectDebug; var $ = pgDirectDebug.jquery; pgDirectDebug.init({{ uniqueId }}, {{ debug_type }}, '{{ function_name_with_arguments }}'); window.onbeforeunload = function(ev) { $.ajax({ url: "{{ url_for('debugger.index') }}close/{{ uniqueId }}", method: 'DELETE' }); }; }, function() { console.log(arguments); }); } catch (err) { console.log(err); } {% endblock %} {% block body %} {% if is_desktop_mode and is_linux %} {% endif %}
{% endblock %} {% block css_link %} {% for stylesheet in stylesheets %} {% endfor %} {% endblock %}