# Creating your mod 2): Enabling debug mode

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="https://1131632349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0QMBPFE89hoTDAFq26pi%2Fuploads%2FOjMxNpKWw1KwUHK0e4CQ%2Fimage.png?alt=media&#x26;token=f162bba8-e78b-4aef-b643-188cd94becc3" 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://did-games.gitbook.io/bonds-modding/modders/creating-your-mod-2-enabling-debug-mode.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
