godotengine / godotengine/godot-vscode-plugin

cant start debug session

Open
#880 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

v4.5.beta2.official [e1b4101e3]

### VS Code version

Version: 1.101.24242 Commit: 57e2c8ee777b373d7df742115797628d35b72afd

### Godot Tools VS Code extension version

2.5.1

### System information

windows 11

### Issue description

Exception has occurred.
Parser Error: Could not resolve class "log", because of a parser error.

the continue, step in/over/out buttons don't work, only the stop and restart buttons work

i already have a godot project opened and the extension says its connected to the language server which is working fine

the project i tested with is https://github.com/rsa17826/vex-plus-plus

Image

also the line with the error is not being hit as nothing in the code calls the function incorrectly, the error just occurs when i try to start debugging, not during the debugging.

[log - Copy.gd.txt](https://github.com/user-attachments/files/21080561/log.-.Copy.gd.txt)

### Steps to reproduce

set launch.json to
```jsonc
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "godot",
"request": "launch"
}
]
}
```

press ^+d then press the launch button

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.