actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
437 stars 95 forks source link

Allow not overwriting Lua path/cpath #117

Closed rlnilsen closed 3 years ago

rlnilsen commented 3 years ago

Use case: I wanted to use the system Lua install, so I added in launch.json: "luaexe": "/usr/bin/lua5.3"

This was not enough, as the default path and cpath was overwritten. Hence this PR which enables not overwriting Lua package.path and .cpath with this in launch.json: "path": null, "cpath": null

actboy168 commented 3 years ago

Thanks.