godotengine / godotengine/godot-vscode-plugin
Windows 11, "invalid debug host address" when when using debugger
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
4.2.1
### VS Code version
1.85.2
### Godot Tools VS Code extension version
2.0.0
### System information
Windows 11
### Issue description
The debugger does not work. It said it failed at running the command:
```
"C:\mypath\Godot_v4.2.1-stable_win64.exe" --path "C:\anotherpath\projects\rope-prototype" --remote-debug 127.0.0.1:6007
```
So I tried to run it in git bash to get the error message, which is:
`Invalid debug host address, it should be of the form ://:`
To run the following works:
```
"C:\mypath\Godot_v4.2.1-stable_win64.exe" --path "C:\anotherpath\projects\rope-prototype" --remote-debug 127.0.0.1://6007
```
The temporary solution I am using is to modify the debugger configuration so that `port` is set to `//6007`:
```
"configurations": [
{
"name": "GDScript Godot",
"type": "godot",
"request": "launch",
"project": "${workspaceFolder}",
"port": "//6007",
"address": "127.0.0.1",
"launch_game_instance": true,
"launch_scene": false
}
]
```
Hope that help!
### Steps to reproduce
Try to run the debugger.
Contributor guide
Assessment
This issue has not been assessed yet.