A remote debugger for Vendetta and other mods, 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.
- Download the debugger
git clone https://github.com/Meqativ/vendetta-debug && cd vendetta-debug
- Install the dependencies
npm i --omit=optional
or, if you want --help
and 21 more packages:
npm i --include=optional
To start the debugger, run this command from inside the vendetta-debug
folder:
node .
For 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.