Improve lua configuration and test files
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.
This commit is contained in:
parent
23130d74ad
commit
4f03e4f65a
5 changed files with 11 additions and 21 deletions
|
|
@ -9,7 +9,8 @@
|
|||
"cwd": "${workspaceFolder}",
|
||||
"program": {
|
||||
"lua": "lua",
|
||||
"file": "simple.lua"
|
||||
"file": "simple.lua",
|
||||
"stopOnEntry": false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -21,7 +22,8 @@
|
|||
"cwd": "${workspaceFolder}",
|
||||
"program": {
|
||||
"lua": "luajit",
|
||||
"file": "simple.lua"
|
||||
"file": "simple.lua",
|
||||
"stopOnEntry": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
if pcall(require, 'lldebugger') then
|
||||
require('lldebugger').start()
|
||||
end
|
||||
|
||||
local separator = ' '
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue