> For the complete documentation index, see [llms.txt](https://did-games.gitbook.io/bonds-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://did-games.gitbook.io/bonds-modding/modders/creating-your-mod-2-enabling-debug-mode.md).

# Creating your mod 2): Enabling debug mode

How to enable debug mode to facilitate development

Debug mode will give you access to all development tools, you do not need RPG Maker MZ to develop a mod but you most likely do need debug mode.&#x20;

Enabling debug only needs to be done once, the steps are as follows:

1. Right-click `Bonds.exe` and click `Create shortcut`

2. Right-click the newly created shortcut and click `Properties`

3. Go to the `Shortcut` tab and in the `Target` field, add `-debug` at the end
   1\.

   ```
   <figure><img src="/files/liYTsjrZrmeHkebltW2X" alt=""><figcaption><p>The target field with the -debug option</p></figcaption></figure>
   ```

4. Optionally, go back to the `Properties` tab and rename the shortcut to something more meaningful like `Bonds (debug mode)`&#x20;

You are now all set. Launching Bonds through the shortcut will now launch Bonds in debug mode, and you can still launch Bonds without debug mode by using the executable directly instead of the shortcut

## Using debug mode

When you first launch Bonds with debug mode, you might be greeted by a few unfamiliar sights. First, the example mod might have loaded (if the game version at the bottom of the title screen says "example mod", you can disable the example mod in the mod menu) and second, you'll see three new buttons on the title screen: `Locale editor`, `Dialog editor` and `Interactions editor`

These editors open the localization editor, the story scene editor and the session interactions editor respectively; More info will be given on each later.

You can also open the console with `F8` and type `nw.Window.get().showDevTools();` to open the browser dev tools, which are far more feature-complete than the built-in console.

{% hint style="info" %}
`F8` can be used to open the browser dev tools in the Locale editor, the Dialog editor and the Interactions editor as well. They normally are unnecessary there, however.
{% endhint %}
