A remote debugger for Vendetta and other mods (Kettu, ShiggyCord, Raincord, Enmity), forked from @colin273/enmity-debugger. This connects over a websocket to the Discord app with a supported mod installed and allows you to execute JavaScript in the Discord app from the command line. The REPL in this debugger is a slightly modified version of the default REPL in Node.js, including the same commands and some support for multi-line code snippets.
-
Install Bun (node also works) Follow the instructions @ https://bun.sh/
-
Download the debugger
git clone https://github.com/meqativ/vendetta-debug && cd vendetta-debug- Install the dependencies
bun installTo start the debugger, run the index.js file from the vendetta-debug folder:
bun run ./index.jsFor help on the options, --help or look here.
Note This guide is only applicable to Vendetta
0. Make sure you have the Vendetta developer settings enabled.
- Open the you tab
- Locate and press the button to open the "General" page

- Locate and enable "Developer Settings"

- Open the Developer page

- Fill in your Debugger URL
- Locate and press the "Connect to debug websocket" button

- 🎉 It should connect now and show this in your console
[Debugger] Connected to Discord over websocket, starting debug session
You can use an option in the devkitplus (Direct | Vendetta › #plugins › 💬) plugin, to connect when Vendetta loads up.
- Install the plugin
- Open the plugin's settings
- Enable "Auto debugger" (You need to fill in the "Debugger URL" for it to connect properly)
Once you have finished debugging and closed the debugger REPL, press Ctrl+C on your keyboard to quit the CLI.