Skip to content

KubeJS Debug Adapter

By warmthdawnOwner

Debug your kubejs script with vscode

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

kubejs-debug-adapter

What's this?

A Debug Adapter Protocol implementation for KubeJS scripts.

How to use it?

  1. Install the vscode extension Debugger for KubeJS
  2. Install this mod
  3. Start game until it show a dialog waiting for debuggers
  4. Open a script that the game will load with vscode.
  5. Set a sets of breakpoints
  6. Press F5 and select KubeJS Scripts
  7. Enter the port that the debugger is listening on and press Enter
  8. Waiting for the breakpoint hit and start debugging。