Skip to content
PluginStats

Lua Debugger installs statistics

By devCAT · VS Code Marketplace · Debuggers

Visual Studio Code debugger extension for Lua 5.1, 5.2, 5.3

View on VS Code Marketplace Fresh · Dec 6, 2026

Lua Debugger has 102,087 recorded installs on VS Code Marketplace, an increase of 0.3% over the past 30 days, ranking #2352 of 2,515 tracked listings.

Installs
102,087
Official API · Dec 6, 2026
7-day growth
+0.1%
+72 installs
30-day growth
+0.3%
+300 installs
90-day growth
—
Insufficient history
Rank
#2352
▼ 4 in 7 days

Rating: 4.00 / 5 from 2 ratings

About Lua Debugger

한국어 문서 읽기

Introduction

You can use the Lua Debugger extension to debug Lua programs with Visual Studio Code.

Requirements

  • You should be able to use luasocket in a Lua program to be debugged.
  • You should be able to use a JSON library in a Lua program to be debugged.
    cjson and dkjson are recommended, but you can use other JSON libraries whose interfaces are compatible.
  • Your code or third party library should not call debug.sethook.

Configuration

In order to debug Lua programs with Lua Debugger, you have to put vscode-debuggee.lua in the program to be debugged.
If you have used mobdebug, you are familiar with it.

Debugger Connection

  1. Download vscode-debuggee.lua and put it in your project.

  2. Paste the following code into your program to run after all the Lua source code is loaded.
    Depending on which JSON library you are using, you may need to modify your code accordingly.

local json = require 'dkjson'
local debuggee = require 'vscode-debuggee'
local startResult, breakerType = debuggee.start(json)
print('debuggee start ->', startResult, breakerType)
  1. Open the folder that contains the program you want to debug in Visual Studio Code, open the Debug window with Ctrl-Shift-D, and edit the debugging settings accordingly.

  2. Set the breakpoint by pressing F9 at the appropriate location in the program to be debugged.

  3. Press the F5 key to start debugging.

Setting to Enter the Debugger When an Error Occurs

Paste the following code at the location where you want to handle the error.

xpcall(
    function()
        -- Code to actually run
        local a = 1 + nil
    end,
    function(e)
        if debuggee.enterDebugLoop(1, e) then
            -- ok
        else
            -- If the debugger is not attached, enter here.
            print(e)
            print(debug.traceback())
        end
    end)

Enabling Debug Commands to be Processed During Execution

To enable the Lua program to respond to commands from the debugger, such as setting a pause or a breakpoint, while running, set the following code to be called at appropriate intervals.

If your project is a game client, you can call it every frame.

debuggee.poll()

Gideros Support

You can run Gideros Player directly from Visual Studio Code.
Please refer to the 'launch-gideros' section of the debugging settings.

Remote Debugging

If you set the debugging setting to wait and start debugging, Visual Studio Code will wait for a debuggee without executing one.
This is useful if you want to see the string that the debugging target leaves on the console, or if the debugger and the debugging target must be running on different machines.

OP_HALT Patch

Basically Vscode-debuggee.lua drops the speed of running Lua programs because it implements the breakpoint mechanism using debug.sethook.
This performance degradation can be overcome by applying a simple patch to the Lua VM.

Download:

Acknowledgments

  • The OP_HALT patch relies heavily on the work mentioned in the Lua mailing list. Thanks to Dan Tull.

  • We got an idea from mobdebug about how to connect the debuggee to the debugger. Thanks to Paul Kulchenko.

  • Thanks to Google Translator for translating this article!

vscode-debuggee.lua Reference

debuggee.start(jsonLib, config)

Connect with the debugger. jsonLib is a JSON library containing .encode and .decode functions.
Config.onError is a callback to receive when an error occurs in the vscode-debuggee module.
Config.connectTimeout, config.controllerHost, and config.controllerPort are settings for remote debugging. If config.redirectPrint is true, the print call is intercepted and displayed in the Visual Studio Code output window. Use this item if you want Gideros to print the results of a print called just before the breakpoint.

debuggee.start returns two values. The first return value is true if it is normally connected to the debugger, otherwise it is false. If the OP_HALT patch is applied in the current Lua VM, the second return value is 'halt', otherwise it is 'pure'.

debuggee.poll()

Processes queued debugging commands and returns immediately.

debuggee.enterDebugLoop(depth[, what])

Stops running the Lua program and start debugging from the current location.
depth specifies the relative depth of the stack to indicate where the debugger is currently running. 0 means the place to call debuggee.enterDebugLoop, and 1 means a step shallow.
what is the message you want to pass to the Visual Studio Code as you start debugging.

debuggee.print(category, ...)

Prints text on vscode debug console. category colorize print text, you can choose log, warning, or error.

Description from the VS Code Marketplace listing.

  • debuggers

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

Lua Debugger installs on VS Code Marketplace, last 90 days: 102,087 installs as of Dec 6, 2026.Lua DebuggerInstalls on VS Code Marketplace · Last 90 days102,087installs101.5K101.6K101.7K101.8K101.9K102K102.1KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Lua Debugger installs on VS Code Marketplace, last 90 days: 102,087 installs as of Dec 6, 2026.

7/30/90-day growth

Lua Debugger installs growth on VS Code Marketplace: +0.1% over 7 days, +0.3% over 30 days, 90-day growth unavailable.Lua DebuggerInstalls growth on VS Code Marketplace102,087installs now7-day growth+72 installs+0.1%30-day growth+300 installs+0.3%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Lua Debugger installs growth on VS Code Marketplace: +0.1% over 7 days, +0.3% over 30 days, 90-day growth unavailable.

Ranking history

Lua Debugger VS Code Marketplace ranking history: currently #2352 (by installs).Lua DebuggerVS Code Marketplace ranking · by installs · Last 90 days#2352current rank#2340#2342#2344#2346#2348#2350#2352#2354Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Lua Debugger VS Code Marketplace ranking history: currently #2352 (by installs).

Ratings over time

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

Listing placement

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

Listing placement

Debuggers216 listings · 11 pages · page 11, #4 (overall #204)
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 Lua Debugger
Date (UTC)InstallsChange vs. previous
102,087+9
102,078+7
102,071+8
102,063+16
102,047+10
102,037+11
102,026+11
102,015+6
102,009+16
101,993+8
101,985+4
101,981+16
101,965+12
101,953—

Similar VS Code Marketplace Debuggers plugins

All 20 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=devCAT.lua-debug. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.