lua-debug icon indicating copy to clipboard operation
lua-debug copied to clipboard

using stock lua binary

Open fikin opened this issue 1 year ago • 4 comments

plugin provided binary does not contain bit32 module compiled with it.

in past i'd simply replace ~/.vscode/extensions/actboy168.lua-debug-2.0.4-linux-x64/runtime/linux-x64/lua53/lua with actual one provided by OS i.e. /usr/bin/lua5.3. and vscode debugger was working.

but now if i do that, vscode debugger hangs i.e. fails to attach to the lua process.

any suggestions what is the problem?

fikin avatar Mar 18 '24 14:03 fikin

You can use Lua compiled by yourself.

actboy168 avatar Apr 02 '24 06:04 actboy168

if there is nothing specific to lua binary, my guess would be that vscode debugger session does not connect with the running process. hence the hanging.

is there anything which might impact this when replacing lua binary with generic distro one (like from debian repos)?

fikin avatar Apr 04 '24 12:04 fikin

This plugin works locally on my macOS air (m1), but not work on vscode remote connection.

I haven't found the solution, but you can configure lua binary at:

image

district10 avatar Sep 28 '24 06:09 district10

ok, so we're having problem with remote.

sure enough, downgrading plugin version to v2.0.9 makes it work or me, even when i replace the binary. see #298

i'd say this issue would be resolved by same solution.

fikin avatar Sep 28 '24 18:09 fikin