chore: configure lldebugger for tests
This commit is contained in:
parent
87a767705d
commit
09e56887d9
|
@ -23,6 +23,7 @@
|
||||||
"keygrabber",
|
"keygrabber",
|
||||||
"ldoc",
|
"ldoc",
|
||||||
"leafo",
|
"leafo",
|
||||||
|
"lldebugger",
|
||||||
"luacheck",
|
"luacheck",
|
||||||
"luacheckrc",
|
"luacheckrc",
|
||||||
"luadoc",
|
"luadoc",
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
// 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": [
|
||||||
|
{
|
||||||
|
"name": "Busted",
|
||||||
|
"type": "lua-local",
|
||||||
|
"request": "launch",
|
||||||
|
"program": {
|
||||||
|
"command": "luarocks"
|
||||||
|
},
|
||||||
|
"args": ["test"]
|
||||||
|
// "ignorePatterns": "^/usr"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,3 +1,9 @@
|
||||||
|
-- Enable lua-local-debugger
|
||||||
|
-- https://github.com/tomblind/local-lua-debugger-vscode
|
||||||
|
if os.getenv "LOCAL_LUA_DEBUGGER_VSCODE" == "1" then
|
||||||
|
require("lldebugger").start()
|
||||||
|
end
|
||||||
|
|
||||||
-- Fake awesome modules
|
-- Fake awesome modules
|
||||||
package.loaded["gears.table"] = {
|
package.loaded["gears.table"] = {
|
||||||
hasitem = function(t, item)
|
hasitem = function(t, item)
|
||||||
|
|
Loading…
Reference in New Issue