godotjs / godotjs/javascript

Debugger Issue

Offen
#133 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
debugger investigation
Vorherrschende Sprache
C++
Sterne
1.1k
Forks
80
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Same issue with #104 but i can get behind that. however when i try to put breakpoints in a file that is not on the same level as the cwd path vscode is not able to trigger it. i have some workaround by creating esbuild plugin to ensure all build files are on the same level as cwd path while preserving imports.

here is my launch settings

```
{
"version": "0.2.0",
"configurations": [
{
"type": "godot-quickjs",
"request": "launch",
"name": "Launch Godot Game",
"program": "W:/Apps/TSGodot/godot.344.exe",
"sourceMaps": true,
"cwd": "${workspaceRoot}/.game",
"sourceRoot": "${workspaceRoot}/game",
"sourceMapPathOverrides": {
"res://": "${workspaceRoot}/game"
}
},
{
"type": "godot-quickjs",
"request": "attach",
"name": "Attach to Godot",
"hostname": "localhost",
"port": 5556
}
]
}

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.