godotjs / godotjs/javascript

Debugger Issue

オープン
#133 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
debugger investigation
主要言語
C++
スター
1.1k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

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
}
]
}

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。