xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
10.05k stars 787 forks source link

xmake考虑支持调试xmake.lua吗 #4401

Closed heheda123123 closed 11 months ago

heheda123123 commented 11 months ago

你在什么场景下需要该功能?

微软和cmake合作,在vscode中能够直接调试cmake脚本了,确实非常方便 https://devblogs.microsoft.com/cppblog/introducing-cmake-debugger-in-vs-code-debug-your-cmake-scripts-using-open-source-cmake-debugger/ vcpkg脚本也可以调试了 https://devblogs.microsoft.com/cppblog/debug-vcpkg-portfiles-in-cmake-script-mode-with-visual-studio-code/ E3`PUBXD)4K_GBXXYR4XJBW

描述可能的解决方案

主流编辑器中支持调试xmake.lua

描述你认为的候选方案

No response

其他信息

No response

Issues-translate-bot commented 11 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: Will xmake consider supporting debugging xmake.lua?

In what scenario do you need this function?

Microsoft has cooperated with cmake to debug cmake scripts directly in vscode, which is indeed very convenient. https://devblogs.microsoft.com/cppblog/introducing-cmake-debugger-in-vs-code-debug-your-cmake-scripts-using-open-source-cmake-debugger/ The vcpkg script can also be debugged https://devblogs.microsoft.com/cppblog/debug-vcpkg-portfiles-in-cmake-script-mode-with-visual-studio-code/ E3`PUBXD)4K_GBXXYR4XJBW

Describe possible solutions

Debugging xmake.lua is supported in mainstream editors

Describe your alternatives

No response

other information

No response