Skip to content

meqativ/vendetta-debug

 
 

Repository files navigation

Vendetta Debugger

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.

Installing

  1. Download the debugger
git clone https://github.com/Meqativ/vendetta-debug && cd vendetta-debug
  1. Install the dependencies
npm i --omit=optional

or, if you want --help and 21 more packages:

npm i --include=optional

Running

To start the debugger, run this command from inside the vendetta-debug folder:

node .

For help on the options, --help or look here.

Connecting

Note This guide is only applicable to Vendetta

0. Make sure you have the Vendetta developer settings enabled.
  1. Open the you tab
  2. Locate and press the button to open the "General" page A screenshot with highlights for steps 1 & 2
  3. Locate and enable "Developer Settings" A screenshot with highlights for step 3

  1. Open the Developer page A screenshot with highlights for step 2
  2. Fill in your Debugger URL
  3. Locate and press the "Connect to debug websocket" button A screenshot with highlights for steps 2 & 3
  4. 🎉 It should connect now and show this in your console [Debugger] Connected to Discord over websocket, starting debug session

Auto-connect

You can use an option in the devkitplus (Direct | Vendetta › #plugins › 💬) plugin, to connect when Vendetta loads up.

  1. Install the plugin
  2. Open the plugin's settings
  3. Enable "Auto debugger" (You need to fill in the "Debugger URL" for it to connect properly)

Quitting

Once you have finished debugging and closed the debugger REPL, press Ctrl+C on your keyboard to quit the CLI.

About

A console for debugging in @vendetta-mod over a websocket

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%