tomblind / local-lua-debugger-vscode

Local Lua Debugger for VSCode
MIT License
100 stars 26 forks source link

love2d cant step in with debugger to love2d lua libary #68

Open meiry opened 1 year ago

meiry commented 1 year ago

great extenton first of all , i try to step in to love2d build in lib's , with no success image

Here is my launch.json :

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lua-local",
            "request": "launch",
            "name": "Debug Custom Executable",
            "program": {
              "command": "c:\\dev\\my\\cpp\\megasource\\build\\love\\Debug\\love.exe"
            },
            "args": [
              "c:\\dev\\my\\cpp\\love2d\\LOVE-Example-Browser-master",
              "vsc_debug"
            ],
            "scriptRoots": ["c:\\dev\\my\\cpp\\megasource\\libs\\love\\src"],
            "scriptFiles": [
                "c:\\dev\\my\\cpp\\megasource\\libs\\love\\src\\**\\*.lua",
                "**/*.lua"
            ]
        }
    ]
}

what im missing here ?
learn-more commented 3 weeks ago

This is a function implemented in c++, so if you want to step into that, you'd need a native debugger.