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

Use with love2d #2

Open
eduardomezencio opened this issue Dec 30, 2019 · 0 comments
Open

Use with love2d #2

eduardomezencio opened this issue Dec 30, 2019 · 0 comments

Comments

@eduardomezencio
Copy link

Should I be able to use this extension to debug love2d? I have tried to do it, but while it looks like the debugger connection is successful, it won't stop on breakpoints.

I have configured launch.json like this:

{
    "name": "Launch",
    "type": "lua",
    "executable": "love",
    "arguments": ". -debug",
    "workingDirectory": "${workspaceRoot}",
    "request": "launch",
    "listenPublicly": false,
    "listenPort": 56789
}

And added the suggested initialization code to my own code. I get this output on the debug console:

I|vscode-debuggee|started successfully
D|debugger.mainVS2Lua|/home/edju/Documents/Code/love/test2/src/init.lua > @/home/edju/Documents/Code/love/test2/src/init.lua
D|debugger.main|setBreakpoints: @/home/edju/Documents/Code/love/test2/src/init.lua / { [1] = 102,} 
debuggee start result: 	true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant