Node.js DAP Configuration

I couldn’t find working Node.js DAP configuration for the Kate. Does anyone have a working version? It would be great to add it to default configuration file.

I have this error. I’m not sure if Kate debugger doesn’t support some of the things.

{
    "command": [
        "node",
        "/home/samet/git/vscode-js-debug/dist/src/dapDebugServer.js",
        "63755"
    ],
    "port": 63755,
    "redirectStderr": true,
    "redirectStdout": true,
    "request": {
        "args": [
        ],
        "command": "launch",
        "cwd": "/home/samet/git/test",
        "program": "/home/samet/git/test/main.js",
        "stopOnEntry": true
    },
    "supportsSourceRequest": true
}

Debug server listening at ::1:63755

DAP backend: Unknown error
*** connection with server closed ***