{"id":13896418,"url":"https://github.com/mfussenegger/nvim-lua-debugger","last_synced_at":"2025-07-17T12:33:24.664Z","repository":{"id":137714275,"uuid":"292349257","full_name":"mfussenegger/nvim-lua-debugger","owner":"mfussenegger","description":"a Debug Adapter that allows debugging lua plugins written for Neovim","archived":true,"fork":false,"pushed_at":"2021-04-07T15:14:40.000Z","size":7,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-25T02:31:56.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfussenegger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-09-02T17:28:13.000Z","updated_at":"2024-09-22T13:02:11.000Z","dependencies_parsed_at":"2024-02-10T00:14:44.428Z","dependency_job_id":"4ac9cc2f-7ed4-4081-a00e-b6c6d756369b","html_url":"https://github.com/mfussenegger/nvim-lua-debugger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mfussenegger/nvim-lua-debugger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnvim-lua-debugger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnvim-lua-debugger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnvim-lua-debugger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnvim-lua-debugger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfussenegger","download_url":"https://codeload.github.com/mfussenegger/nvim-lua-debugger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfussenegger%2Fnvim-lua-debugger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265606780,"owners_count":23797004,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T18:02:54.508Z","updated_at":"2025-07-17T12:33:24.398Z","avatar_url":"https://github.com/mfussenegger.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# UNMAINTAINED\n\nThis was a prototype that never made it into a workable state.\nThere is now [lua-debug.nvim](https://github.com/jbyuki/lua-debug.nvim) which can be used instead.\n\n\n# Neovim Lua Debug Adapter\n\n\n`nvim-lua-debugger` is a Debug Adapter that allows debugging lua plugins written for Neovim.\nIt is the server component in the [Debug Adapter Protocol][1].\n\nTo use the debugger you'll need a client implementing the Debug Adapter Protocol:\n\n- [vimspector][2]\n- [nvim-dap][3]\n\n\n## MVP TODO\n\n- [ ] initialization parts of the protocol\n- [ ] setting breakpoints\n- [ ] stopped event\n- [ ] threads request handling\n- [ ] stackTrace request handling\n- [ ] scopes request handling\n- [ ] variables request handling\n\n\n## Installation\n\n- Requires [Neovim HEAD/nightly][4]\n- nvim-lua-debugger is a plugin. Install it like any other Vim plugin.\n- Call `:packadd nvim-lua-debugger` if you install `nvim-lua-debugger` to `'packpath'`.\n\n\n## Usage with nvim-dap\n\nAdd a new adapter entry:\n\n```lua\nlocal dap = require('dap')\ndap.adapters.neovim = function(callback)\n  local server = require('lua_debugger').launch()\n  callback({ type = 'server'; host = server.host; port = server.port; })\nend\n```\n\nAdd a new configuration entry:\n\n```lua\nlocal dap = require('dap')\ndap.configurations.lua = {\n  {\n    type = 'neovim';\n    request = 'attach';\n    name = \"Attach to running neovim instance\";\n  },\n}\n```\n\nThen edit a ``lua`` file within Neovim and call `:lua require'dap'.continue()` to start debugging.\n\n\n[1]: https://microsoft.github.io/debug-adapter-protocol/overview\n[2]: https://github.com/puremourning/vimspector\n[3]: https://github.com/mfussenegger/nvim-dap\n[4]: https://github.com/neovim/neovim/releases/tag/nightly\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfussenegger%2Fnvim-lua-debugger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfussenegger%2Fnvim-lua-debugger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfussenegger%2Fnvim-lua-debugger/lists"}