godotengine / godotengine/godot-vscode-plugin

External terminal window remains open after debugging session ends, requiring manual closure

Open
#870 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.4.1.stable.official.49a5bc7b6

### VS Code version

1.101.0

### Godot Tools VS Code extension version

2.5.1

### System information

Windows 11

### Issue description

When debugging a Godot project using F5 or the "GDScript: Launch Project" configuration, an external Windows Command Prompt window opens to display the Godot engine output. After the debugging session ends (either by closing the game window or killing the process), this terminal window remains open showing:

Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org
Vulkan 1.3.280 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Laptop GPU

[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

Expected behavior:
The terminal window should close automatically when the debugging session ends, similar to how other debuggers behave in VSCode.

### Steps to reproduce

1. Open a Godot project in VSCode with the Godot Tools extension installed
2. Press F5 to start debugging or use "Run and Debug" > "GDScript: Launch Project"
3. Wait for the game to launch (external terminal window appears)
4. Close the game window or stop the debugging session
5. Observe that the external terminal window remains open requiring manual closure

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.