Other editors
The debugger is kscript debug, which speaks the Debug Adapter Protocol on its stdin and stdout. VS Code starts it for you. Any editor with a Debug Adapter Protocol client may start it too, such as Neovim with nvim-dap:
local dap = require('dap')
dap.adapters.kscript = { type = 'executable', command = 'kscript', args = { 'debug' } }
dap.configurations.kscript = {
{ type = 'kscript', request = 'launch', name = 'Debug script', program = '${file}' },
}It takes the launch settings above, and supports breakpoints with conditions, hit counts and log messages, the Errors filter, stepping, pausing, and evaluating expressions for hovers, watches and the console.