LuaPanda
LuaPanda copied to clipboard
Workspace config 工作区配置支持
LuaPanda 目前看来只支持在 launch.json 查找调试配置,忽略了工作区的配置
而且当工作区有多个文件夹时,无法启动调试

希望可以支持工作区的调试配置
下面是个简单多文件夹工作区例子:
{
"folders": [
{
"name": "Main",
"path": "code"
},
{
"name": "Source",
"path": "src"
}
],
"settings": {
"editor.fontLigatures": false
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"type": "lua",
"request": "launch",
"tag": "normal",
"name": "LuaPanda",
"rootFolder": "${workspaceRoot:Main}",
"cwd": "${workspaceRoot:Main}",
"luaFileExtension": "",
"connectionPort": 8818,
"stopOnEntry": true,
"useCHook": true,
"autoPathMode": true,
"distinguishSameNameFile": true
}
]
}
}