diff options
Diffstat (limited to 'debugger.lua')
-rw-r--r-- | debugger.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debugger.lua b/debugger.lua index 84579b9d..5d2c540f 100644 --- a/debugger.lua +++ b/debugger.lua @@ -5,7 +5,7 @@ end local fs = require 'bee.filesystem' local luaDebugs = {} -for _, vscodePath in ipairs {'.vscode', '.vscode-insiders', '.vscode-server-insiders'} do +for _, vscodePath in ipairs { '.vscode', '.vscode-insiders', '.vscode-server-insiders' } do local extensionPath = fs.path(os.getenv 'USERPROFILE' or os.getenv 'HOME') / vscodePath / 'extensions' log.debug('Search extensions at:', extensionPath:string()) @@ -39,8 +39,8 @@ table.sort(luaDebugs, function (a, b) end) local debugPath = luaDebugs[1] -local cpath = "/runtime/win64/lua54/?.dll;/runtime/win64/lua54/?.so" -local path = "/script/?.lua" +local cpath = "/runtime/win64/lua54/?.dll;/runtime/win64/lua54/?.so" +local path = "/script/?.lua" local function tryDebugger() local entry = assert(package.searchpath('debugger', debugPath .. path)) |