print(package.path) != %LUA_PATH% ( 1.38.0 on Win10, 64bit ) #136
When executing a LUA script.
Indeed, VisualStudioCode with "lua-debug 1.38.0" prints the LUA style path to the current working directory, with "/?.lua" added.
Just by special trick to add
WORKAROUND, but no solution:
The text was updated successfully, but these errors were encountered:
I need your debug plugin, as the VSC LuaUnit plugin depends on it...
On Windows, with LuaDebug 1.40.0,
With the JSON debugging configuration "Debug Current Script", this does not work.
But if I change the debugger or change the file to be debugged, its most easy to start with a new launch.json file, and so I don´t like to fix it each time...
THANKS alot, LUA_PATH problem solved.
( I beg your pardon, I am newbie to VSC, especially for configuration with extension settings & launch.json )
I just discovered your LUA_CPATH Extension settings :-), great.
I am still confused, that the setting
which is a total POWERSHELL-WINDOWS statement, also works for DebianLinux, if entered in the Extension Settings or in launch.json.
Extension Settings, suggestion
And please mention the Powershell-alike Syntax which is also valid for Linux, in the documentation.