summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debugger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger.lua b/debugger.lua
index 1fb9a8c5..135e97fc 100644
--- a/debugger.lua
+++ b/debugger.lua
@@ -10,7 +10,7 @@ for _, vscodePath in ipairs {'.vscode', '.vscode-insiders', '.vscode-server-insi
log.debug('Search extensions at:', extensionPath:string())
if fs.exists(extensionPath) then
- for path in extensionPath:list_directory() do
+ for path in fs.pairs(extensionPath) do
if fs.is_directory(path) then
local name = path:filename():string()
if name:find('actboy168.lua-debug-', 1, true) then