KubeJS Debug Adapter

Debug your kubejs script with vscode

301

KubeJS Debug Adapter

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。

ADS