다른 편집기
디버거는 kscript debug이며, 표준 입출력(stdin과 stdout)으로 Debug Adapter Protocol을 사용합니다. VS Code가 자동으로 실행합니다. Debug Adapter Protocol 클라이언트를 지원하는 다른 편집기도 실행할 수 있으며, 예를 들어 nvim-dap을 사용하는 Neovim이 있습니다:
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}' },
}위의 launch 설정을 사용하며, 조건, 히트 카운트, 로그 메시지가 있는 중단점, Errors 필터, 단계별 실행, 일시 정지, 호버, 감시식, 콘솔용 식 평가를 지원해요.