actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

Support no launch.json debugging #150

Closed isidorn closed 2 years ago

isidorn commented 2 years ago

Hi VS Code PM here 👋

We would love if lua debug would support debugging without a launch.json. Thus allowing users to debug in a no folder vscode. Easiest to do this is to have a dynamic resolveDebugConfiguartion that will provide a launch configuration on the fly. Example

Apart from that consider contributing to the Editor title area menu, such that a Play button would appear in the Editor Title area (picture below). Example how to do this https://github.com/microsoft/vscode-mock-debug/blob/main/package.json#L80

I think both of these are super important and would really love that we improve this experience 💯
Let me know if I can help somehow. I am also open to a quick 30 min meeting where we can discuss about the new cool VS Code debug features that lua-debug could potentially adopt.

actboy168 commented 2 years ago

lua-debug already supports these two features.

isidorn commented 2 years ago

This is fantastic. Thanks a lot. I do not have Lua setup so I could not try it out on my machine. I apologise for the noise and thank you!