Change lua test files to call `require 'lldebugger'` only when using love, because it's not needed with lua or luajit. Also add `stopOnEntry` key to test `.vimspector.json` because it works correctly with this change.
31 lines
716 B
JSON
31 lines
716 B
JSON
{
|
|
"$schema": "https://puremourning.github.io/vimspector/schema/vimspector.schema.json#",
|
|
"configurations": {
|
|
"lua": {
|
|
"adapter": "lua-local",
|
|
"configuration": {
|
|
"request": "launch",
|
|
"type": "lua-local",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": {
|
|
"lua": "lua",
|
|
"file": "simple.lua",
|
|
"stopOnEntry": false
|
|
}
|
|
}
|
|
},
|
|
"luajit": {
|
|
"adapter": "lua-local",
|
|
"configuration": {
|
|
"request": "launch",
|
|
"type": "lua-local",
|
|
"cwd": "${workspaceFolder}",
|
|
"program": {
|
|
"lua": "luajit",
|
|
"file": "simple.lua",
|
|
"stopOnEntry": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|