Please find the attached patch file with below fix.
When we open the query tool and debugger in pgAdmin4 desktop mode then new panel gets created but there is nothing to display inside the panel.
Still there is one pending issue specific to debugger.
Issue :-
When user open the debugger, then panel will able to display the content of the function to debug but once the execution completed then again panel content set to blank.
Thanks - commit!
So i will send the patch specific to this issue later.