An open API service indexing awesome lists of open source software.

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

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:

![](./.github/running.png)

## 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`

![](./.github/install01.png)

And now select the debugger.go

![](./.github/install02.png)

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

![](./.github/install03.png)

**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