After hitting a breakpoint with Rider, my cursor is still captured by my Godot game, and I can't see / use it

Godot Version

v4.3.stable.mono.official [77dcf97d8]

OS

Manjaro 24.0.6 with Xfce

IDE

JetBrains Rider 2024.2.1

Question

During normal runtime of my game, the mouse cursor is often captured, as it should be, but every time I set a breakpoint in my IDE then hit it, my IDE gets focus, the game is frozen (as it should be), but my cursor is still captured by the game, and I cannot get it back unless I force-terminate the debugging session with a hotkey. I couldn’t really find any information about this online, and it is something that gets quite annoying after a while. Any help is greatly appreciated!

I think i have seen this too. Can Alt+tab get you out of the window? Maybe try to minimize the window, or make the window slightly smaller so there is a margin that the mouse won’t be over the captured window. I think i have a small window for the game then i can Alt+ tab out but my mouse will only show when it’s not over the game window. Then i probably minimize it.

Alternatively, If you want to you could change capture mode before breaking. Just use breakpoint keyword. And before it’s executed chang mode.

But this wouldn’t help if there is a runtime error. So i guess try shrinking the game window size.