Hi,

Please find the attached monir patch to fix the JS issue.

Thanks,
Khushboo
diff --git a/web/pgadmin/tools/debugger/static/js/direct.js b/web/pgadmin/tools/debugger/static/js/direct.js
index b9cb2ec..0326082 100644
--- a/web/pgadmin/tools/debugger/static/js/direct.js
+++ b/web/pgadmin/tools/debugger/static/js/direct.js
@@ -1851,7 +1851,8 @@ define([
         // Register the callback when user set/clear the breakpoint on gutter area.
         self.editor.on('gutterClick', self.onBreakPoint.bind(self), self);
         // Set focus to the debugger container
-        self.$container.focus();
+        if (self.$container)
+          self.$container.focus();
       };
 
       self.docker.startLoading(gettext('Loading...'));

Reply via email to