actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
435 stars 94 forks source link

`inject` is not supported in `integratedTerminal`. #180

Closed yosoymin closed 2 years ago

yosoymin commented 2 years ago

Since version 1.58.0 I can't debug lua, when I click on play button I can see the next error:

image

actboy168 commented 2 years ago

Duplicate of #179

stax76 commented 2 years ago

@yosoymin

Does v1.58.1 work for you? For me, it does not show this message, but it doesn't break at breakpoints.

@actboy168

Unless I'm missed something, there is still an issue.

actboy168 commented 2 years ago

@stax76 My fault. It should work now.

yosoymin commented 2 years ago

@yosoymin

Does v1.58.1 work for you? For me, it does not show this message, but it doesn't break at breakpoints.

@actboy168

Unless I'm missed something, there is still an issue.

You are right, it's not showing the message but breakpoints are not working. It seems the debugger is not connecting the application, I can't stop the application either using the stop button.

stax76 commented 2 years ago

The issue is still present in v1.58.2. It does not show the error message, but does not break at the breakpoint.

actboy168 commented 2 years ago

@stax76 You may have set the console in settings. Reset it or change it to internalConsole.

stax76 commented 2 years ago

You may have set the console in settings. Reset it or change it to internalConsole.

That was the problem, I changed it to internalConsole, and now it works, thank you!

yosoymin commented 2 years ago

@stax76 You may have set the console in settings. Reset it or change it to internalConsole.

Ok, setting the console setting to internalConsole is working for me too. I think we can close this issue!