When scripts contain annotations such as @export, @onready, etc., after starting debugging with F5 and then stopping debugging by Shift+F5 or stop button, the game window does not close automatically.
Another thing I noticed that ending one debugging session ends all other sessions. I'm not sure if it's an existing issue or not.