Download KubeJS Debug Adapter — Minecraft Mods — MetaMods

KubeJS Debug Adapter

Active

Downloads

1

Last update

3 years ago

Versions

1.18.2
Client
Forge
Utils

kubejs-debug-adapter

What is this?

An implementation of Debug Adapter Protocol for working with KubeJS scripts, enabling direct code debugging within the game.

How to use?

To start working with the debugger, follow these steps:

  1. Install the Visual Studio Code extension called Debugger for KubeJS
  2. Add this mod to your Minecraft modpack
  3. Launch the game and wait for the dialog box to appear, awaiting debugger connections
  4. Open in VS Code the script that will be loaded by the game
  5. Set breakpoints at the desired locations in the code
  6. Press the F5 key and select the KubeJS Scripts option
  7. Enter the port on which the debugger is listening and confirm the selection by pressing Enter
  8. Wait for the breakpoint to trigger and proceed with script debugging
Project members
warmthdawn

warmthdawn

Developer

Created: 29 Jul 2022

ID: 17277