godotengine / godotengine/godot-vscode-plugin

Hot Reloading for scripts and scene changes does not work if launching from VS Code

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

Description

### Godot version

3.4.4

### VS Code version

1.66.0

### Godot Tools VS Code extension version

1.1.3

### System information

Windows 10

### Issue description

As it says in the title it doesn't look like hot-reloading scripts or scenes works if you run the game from VS Code. This is a problem since it seems that debugging/breakpoints only works if launched from vs code.

Here is my launch.json

`{
"name": "GDScript Godot",
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"port": 6007,
"address": "127.0.0.1",
"launch_game_instance": true,
"launch_scene": false
}`

### Steps to reproduce

Hit the green arrow button after setting up the launch.json file.

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.