flathub / flathub/com.visualstudio.code
Can't use host shell with launch.json, which makes node debugging impossible
- Ngôn ngữ chính
- Shell
- Star
- 217
- Fork
- 82
- Merge trung bình
- 1 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
I have config keys below in settings.json
```json
"terminal.integrated.defaultProfile.linux": "toolbox",
"terminal.integrated.profiles.linux": {
"toolbox": {
"path": "/usr/bin/flatpak-spawn",
"args": ["--host", "toolbox", "enter"]
}
}
```
But these config won't be applied to debugging environment, seems VSCode ignored the change of default shell in launch.json. Without the toolbox environment, node debugging is impossible because there's no "node" in the PATH of VSCode flatpak and SDK.

*Tips: "没有那个文件或目录" means "No such file or directory" in English*
launch.json
```json
{
"configurations": [
{
"name": "Electron Main",
"type": "node",
"request": "launch",
"program": "${workspaceFolder}/dist/main.js",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron"
}
]
}
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.