https://github.com/atomicptr/defold-mobdebug
A Defold library for debugging your games using MobDebug
https://github.com/atomicptr/defold-mobdebug
debug debugging defold defold-library mobdebug
Last synced: 6 months ago
JSON representation
A Defold library for debugging your games using MobDebug
- Host: GitHub
- URL: https://github.com/atomicptr/defold-mobdebug
- Owner: atomicptr
- License: mit
- Created: 2025-08-02T09:21:29.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-08-04T07:26:24.000Z (6 months ago)
- Last Synced: 2025-08-08T12:58:57.470Z (6 months ago)
- Topics: debug, debugging, defold, defold-library, mobdebug
- Language: Lua
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Defold MobDebug
A Defold library that allows you to debug your games using external editors with [MobDebug](https://github.com/pkulchenko/MobDebug)
An example of running the included demo project with Neovim:

## Installation
Open your `game.project` file and add the following line to your dependencies under the project section:
```
https://github.com/atomicptr/defold-mobdebug/archive/refs/heads/master.zip
```
After that, select `Project ▸ Fetch Libraries` to fetch & update your libraries.
Next in your primary collection (usually `main/main.collection`), right click the collection and hit `Add Game Object File`

And now select the debugger.go

And lastly enable (and perhaps change the port of) the debugger

**Note**: You can not use the MobDebug default port 8172, because the Defold editor itself uses that for
the builtin debugger
## Debug Adapter Protocol
If your editor supports the Debug Adapter Protocol (or DAP), you can use my other project [mobdap](https://github.com/atomicptr/mobdap)
## Recommended Editor Plugins
- **Neovim**: [defold.nvim](https://github.com/atomicptr/defold.nvim)
## License
MIT