Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>moonbugNew to Visual Studio Code? Get it now.
moonbug

moonbug

Christopher Kaster

|
4 installs
| (0) | Free
Single-file, in-process, DAP powered Lua debugger for your favorite code editor!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-moonbug

moonbug logo

Lua debugger for Visual Studio Code, powered by moonbug

Please report issues at the main repository: atomicptr/moonbug

Install

Get the extension from here

Usage

Just import the moonbug module and get started!

local moonbug = require "moonbug" -- module path might vary

moonbug.listen(host, port, {
    wait = true, -- the process will block until a debugger attaches
})

-- Explore the `moonbug.Config` type for more options (or check out the main repository at https://github.com/atomicptr/moonbug)

Thats it!

The module is added to your LUA_PATH automatically, you might however need to import it manually from here: atomicptr/moonbug

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft