Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How can I run a server for debugger? #32

Closed
vanheck opened this issue Aug 22, 2019 · 1 comment
Closed

[Question] How can I run a server for debugger? #32

vanheck opened this issue Aug 22, 2019 · 1 comment
Assignees
Labels

Comments

@vanheck
Copy link

vanheck commented Aug 22, 2019

Hi, apologize for my "newbie" question.

I'd like to create a lua debuger extension, where the debuger (on the vscode side) is TCP Server waiting for client (lua program) to connect. But I have no idea how to connect the Debug Adapter with the "_runtime" (mockRuntime in this example) which works as a server waiting for connection and messeges with debug info.

Could you help me? What should I focus on?

@weinand weinand self-assigned this Feb 26, 2020
@weinand
Copy link
Contributor

weinand commented Nov 6, 2020

Yes, MockDebug assumes that the underlying runtime/debugger can be accessed via a client library. The "mockRuntime" can be considered this client library.
If your runtime ("lua") is a TCP server, then you need a client library "luaRuntime" that talks to the lua TCP server.

I suggest that you ask for advice on stackoverflow.

@weinand weinand closed this as completed Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants