Skip to content
PluginStats

Local Lua Debugger installs statistics

By Tom Blind · VS Code Marketplace · Debuggers

Local Lua Debugger - simple Lua debugger with no dependencies

View on VS Code Marketplace Fresh · Dec 6, 2026

Local Lua Debugger has 123,320 recorded installs on VS Code Marketplace, an increase of 1.2% over the past 30 days, ranking #2126 of 2,515 tracked listings.

Installs
123,320
Official API · Dec 6, 2026
7-day growth
+0.2%
+305 installs
30-day growth
+1.2%
+1.5K installs
90-day growth
—
Insufficient history
Rank
#2126
▲ 3 in 7 days

Rating: 5.00 / 5 from 11 ratings

About Local Lua Debugger

Local Lua Debugger for Visual Studio Code

A simple Lua debugger which requires no additional dependencies.


Notice of Breaking Change

Beginning in version 0.3.0, projects which use sourcemaps to debug code transpiled from another language (such as TypescriptToLua), must specify the scriptFiles launch configuration option in order to use breakpoints in the original source files. This allows these to be resolved at startup instead of at runtime which allows for a significant performance increase.


Features

  • Debug Lua using stand-alone interpretor or a custom executable
  • Supports Lua versions 5.1, 5.2, 5.3 and LuaJIT
  • Basic debugging features (stepping, inspecting, breakpoints, etc...)
  • Conditional breakpoints
  • Debug coroutines as separate threads
  • Basic support for source maps, such as those generated by TypescriptToLua

Usage

Lua Stand-Alone Interpreter

To debug a Lua program using a stand-alone interpreter, set lua-local.interpreter in your user or workspace settings:

"lua-local.interpreter": "lua5.1"

Alternatively, you can set the interpreter and file to run in launch.json:

{
  "configurations": [
    {
      "type": "lua-local",
      "request": "launch",
      "name": "Debug",
      "program": {
        "lua": "lua5.1",
        "file": "main.lua"
      }
    }
  ]
}
Custom Lua Environment

To debug using a custom Lua executable, you must set up your launch.json with the name/path of the executable and any additional arguments that may be needed.

{
  "configurations": [
    {
      "type": "lua-local",
      "request": "launch",
      "name": "Debug Custom Executable",
      "program": {
        "command": "executable"
      },
      "args": [
        "${workspaceFolder}"
      ]
    }
  ]
}

You must then manually start the debugger in your Lua code:

require("lldebugger").start()

Note that the path to lldebugger will automatically be appended to the LUA_PATH environment variable, so it can be found by Lua.


Requirements & Limitations

  • The Lua environment must support communication via either stdio or pipes (named pipes on Windows, fifos on Linux).
    • Some enviroments may require command line options to support stdio communication (ex. Solar2D requires /no-console flag)
    • Use of io.read or other calls that require user input will cause problems in stdio mode. Set program.communication to pipe to work around this.
  • The Lua environment must be built with the debug library, and no other code should attempt to set debug hooks.
  • You cannot manually pause debugging while the program is running.
  • In Lua 5.1 and LuaJIT, the main thread cannot be accessed while stopped inside of a coroutine.

Tips

  • For convenience, a global reference to the debugger is always stored as lldebugger.
  • You can detect that the debugger extension is attached by inspecting the environment variable LOCAL_LUA_DEBUGGER_VSCODE. This is useful for conditionally starting the debugger in custom environments.
    if os.getenv("LOCAL_LUA_DEBUGGER_VSCODE") == "1" then
      require("lldebugger").start()
    end
    
  • Some custom environments will not break on uncaught runtime errors. To catch a runtime error, you can wrap the code with lldebugger.call():
    lldebugger.call(function()
    --code causing runtime error
    end)
    
  • Some environments will not load required files from the standard filesystem. In these cases, you may be able to load the debugger manually using the file path stored in LOCAL_LUA_DEBUGGER_FILEPATH:
    package.loaded["lldebugger"] = assert(loadfile(os.getenv("LOCAL_LUA_DEBUGGER_FILEPATH")))()
    require("lldebugger").start()
    

Additional Configuration Options

scriptRoots

A list of alternate paths to find Lua scripts. This is useful for environments like LÖVE, which use custom resolvers to find scripts in other locations than what is in package.config.

scriptFiles

A list of glob patterns identifying where to find Lua scripts in the workspace when debugging. This is required for placing breakpoints in sourcemapped files (ex. 'ts' scripts when using TypescriptToLua), as the source files must be looked up ahead of time so that breakpoints can be resolved.

Example: scriptFiles: ["**/*.lua"]

ignorePatterns

A list of Lua patterns that specifies files to skip when stepping through code.

Example: ignorePatterns: ["^/usr"]

stepUnmappedLines

Step into Lua when stepping through source-mapped code and no mapping is available for the current line.

breakInCoroutines

Break into the debugger when errors occur inside coroutines.

  • Coroutines created with coroutine.wrap will always break, regardless of this option.
  • In Lua 5.1, this will break where the coroutine was resumed and the message will contain the actual location of the error.
stopOnEntry

Automatically break on first line after debug hook is set.

cwd

Specify working directory to launch executable in. Default is the project directory.

args

List of arguments to pass to Lua script or custom environment when launching.

env

Specify environment variables to set when launching executable.

program.communication

Specifies how the extension communicates with the debugger.

Possible values:

  • stdio (default): Messages are embeded in stdin and stdout.
  • pipe: Pipes are created for passing messages (named pipes on Windows, fifos on Linux). Use this if your environment has issues with stdio communication.
verbose…

Description from the VS Code Marketplace listing.

  • corona
  • debuggers
  • love
  • löve
  • lua
  • luajit
  • tstl
  • typescripttolua
  • typescript-to-lua

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Local Lua Debugger installs on VS Code Marketplace, last 90 days: 123,320 installs as of Dec 6, 2026.Local Lua DebuggerInstalls on VS Code Marketplace · Last 90 days123,320installs120.5K121K121.5K122K122.5K123K123.5KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Local Lua Debugger installs on VS Code Marketplace, last 90 days: 123,320 installs as of Dec 6, 2026.

7/30/90-day growth

Local Lua Debugger installs growth on VS Code Marketplace: +0.2% over 7 days, +1.2% over 30 days, 90-day growth unavailable.Local Lua DebuggerInstalls growth on VS Code Marketplace123,320installs now7-day growth+305 installs+0.2%30-day growth+1,462 installs+1.2%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Local Lua Debugger installs growth on VS Code Marketplace: +0.2% over 7 days, +1.2% over 30 days, 90-day growth unavailable.

Ranking history

Local Lua Debugger VS Code Marketplace ranking history: currently #2126 (by installs).Local Lua DebuggerVS Code Marketplace ranking · by installs · Last 90 days#2126current rank#2124#2126#2128#2130#2132#2134#2136Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Local Lua Debugger VS Code Marketplace ranking history: currently #2126 (by installs).

Ratings over time

Local Lua Debugger ratings on VS Code Marketplace, last 90 days: 11 ratings as of Dec 6, 2026.Local Lua DebuggerRatings on VS Code Marketplace · Last 90 days11ratings9.51010.51111.51212.5Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Local Lua Debugger ratings on VS Code Marketplace, last 90 days: 11 ratings as of Dec 6, 2026.

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 107, #10 (overall #2,130)
All VS Code Marketplace: every listing in installs order

Listing placement

Debuggers216 listings · 11 pages · page 9, #20 (overall #180)
Debuggers: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (50)
Recent installs observations for Local Lua Debugger
Date (UTC)InstallsChange vs. previous
123,320+35
123,285+39
123,246+33
123,213+82
123,131+32
123,099+43
123,056+41
123,015+52
122,963+39
122,924+46
122,878+78
122,800+42
122,758+65
122,693—

Similar VS Code Marketplace Debuggers plugins

All 20 Local Lua Debugger alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=tomblind.local-lua-debugger-vscode. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.