Godot version
v4.5.stable.mono.official [876b29033]
VS Code version
1.104.26450(VSCodium)
Godot Tools VS Code extension version
2.5.1
System information
Fedora 42
Issue description
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.
And after this occurs, attempts to close the window by clicking the title bar's close button, closing VSCode, or closing the editor are ineffective. The only solution is to forcibly terminate the window process.
Directly closing the game window (instead of using Stop Debugging in VSCode) does not exhibit this problem.
Steps to reproduce
Create any new scene in the Godot editor and attach a GDScript to it
Use @export or @onready to declare some variables in the script, for example:
extends Node
@export var id: int = 0
Create a default debug configuration in VSCodium, press F5 to run, and after the game window appears, press Shift+F5 to stop debugging