actboy168 / lua-debug

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

Missing package.cpath in descriptorFactory.js for platform == "win32" #104

Closed Lowlofir closed 4 years ago

Lowlofir commented 4 years ago

I had problem similar to described in "Debugging doesn't start" issue. I tried to rebuild extension - it doesn't help. After some investigation I found that problem is I had no systemwide 'bee' library, which is required in script/frontend/main.lua file. And that one which is in bin\win\ directory is not used because cpath is not set accordingly. So I added package.cpath assignment in descriptorFactory.js similar to one for non-windows platforms and now it works fine. So please fix it properly.