Closed waruqi closed 1 year ago
Debug xmake lua source
patch: https://github.com/xmake-io/xmake/pull/4121
We need install https://github.com/EmmyLua/VSCode-EmmyLua for vscode first.
Update xmake and repo
$ xmake update -s dev $ xrepo update-repo
$ xrepo env -b emmylua_debugger xmake --version
it will wait emmylua debugger.
RunDebug -> Emmylua New Debug
add_rules("mode.debug", "mode.release") target("test") set_kind("binary") add_files("src/*.cpp") before_build(function (target) print("hello") end)
$ xrepo env -b emmylua_debugger xmake
No response
Related issues:
Is your feature request related to a problem? Please describe.
Debug xmake lua source
Describe the solution you'd like
patch: https://github.com/xmake-io/xmake/pull/4121
Debug xmake self-source code
We need install https://github.com/EmmyLua/VSCode-EmmyLua for vscode first.
Update xmake and repo
it will wait emmylua debugger.
RunDebug -> Emmylua New Debug
Debug project configuraiton
Describe alternatives you've considered
No response
Additional context
No response