Edit: None of the answers I got work so I went ahead and filed a bug in KDE bugzilla: https://bugs.kde.org/show_bug.cgi?id=502901
Neither CTRL Q
or CTRL W
work for me. I set a hotkey for the window operations menu in Settings app > Shortcuts > KWin > Window Operations Menu, but then pressing the close button in the context menu that shows, closes the window of the other window I was focused on and not the debugger.
if
esc
oralt+f4
don’t do what you want, try going to window management in settings and making a window rule. you can click thedetect window properties
button then click the offending window and set the window type to match. then you can try using rules like forcing the titlebar on just that window or ignoring global shortcuts or one called ‘closable’. i’ve never used any of these but it’s a thought.