You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get LRDB working with a lua instance embedded in a larger program by means of a third-party plugin. I have compiled my plugin with the server code as described in the docs. But I am stumped on how to get the vscode-lrdb extension to connect to my plugin.
But because the script isn't running under the control of my plugin, none of its environment is available so it fails immediately. Conversely I can change the "program" tag to point to the host program. That successfully launches the host program, but then the code hangs when I try to launch my .lua script.
The docs seems to imply that what I want to do is possible, but I don't see the options to do it.
The text was updated successfully, but these errors were encountered:
This leads to the most hopeful result. It actually breaks inside my plugin and acts as though it is going to proceed with debugging. The problem is that the client terminates immediately with:
exit status: -13
This happens whether I have my server app running or not. I have not been able to find what this status code means. But it suggests I need to change the launch.json file. However the only thing I can think to change is:
"program": "/My/Host/Program",
This change indeed launches the host program but then everything hangs once I launch my lua script. Any help would be appreciated. I have used telnet to confirm that the server is responding on the port.
I am trying to get
LRDB
working with a lua instance embedded in a larger program by means of a third-party plugin. I have compiled my plugin with the server code as described in the docs. But I am stumped on how to get thevscode-lrdb
extension to connect to my plugin.This
launch.json
launches the debugger.But because the script isn't running under the control of my plugin, none of its environment is available so it fails immediately. Conversely I can change the
"program"
tag to point to the host program. That successfully launches the host program, but then the code hangs when I try to launch my.lua
script.The docs seems to imply that what I want to do is possible, but I don't see the options to do it.
The text was updated successfully, but these errors were encountered: