lua-debug
lua-debug copied to clipboard
Multiple files
How would I debug multiple files (my main file requires other files)?
Set the correct path in launch.json
@actboy168 I recently had the same issue and resolved it by creating the following vscode debug launch.json file
{
"name": "Lua App",
"path": "${workspaceFolder}/path/to/my/lua/app/?.lua",
"program": "${workspaceFolder}/path/to/my/lua/app/main.lua",
"request": "launch",
"stopOnEntry": true,
"type": "lua"
}
Set the correct path in launch.json
Will try
@actboy168 even with the program running fine, debugging only works in the main file
You need to say what you did, not just say it didn't work.