Skip to content

meqativ/vendetta-debug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vendetta Debugger

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.

Installing

  1. Install Bun (node also works) Follow the instructions @ https://bun.sh/

  2. Download the debugger

git clone https://github.com/meqativ/vendetta-debug && cd vendetta-debug
  1. Install the dependencies
bun install

Running

To start the debugger, run the index.js file from the vendetta-debug folder:

bun run ./index.js

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

Contributors

Languages

  • JavaScript 100.0%