Kade dap adapter not shown in the menu

I have the following dap.json

{
  "dap": {
    "godot": {
      "configuration": {
        "launch": {
          "request": {
            "command": "launch"
          }
        }
      },
      "run": {
        "command": "nc 127.0.0.1 6006"
      }
    },
    "haskell": {
      "configurations": {
        "launch": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "env": "${env|list}",
            "ghciCmd": "stack ghci --test --no-load --no-build --main-is TARGET --ghci-options -fprint-evld-with-show",
            "ghciEnv": {},
            "logFile": "${logFile|path}",
            "logLevel": "WARNING",
            "startup": "${file}",
            "stopOnEntry": true,
            "workspace": "${workdir|dir}"
          }
        }
      },
      "run": {
        "command": [
          "/nix/store/89hzxadxwkmsdcz2ghrbl754i9pn8yr9-haskell-debug-adapter-0.0.40.0",
          "--hackage-version=0.0.40.0"
        ]
      }
    },
    "lldb-dap": {
      "configurations": {
        "Load coredump": {
          "request": {
            "command": "attach",
            "coreFile": "${corefile|path}",
            "program": "${file}"
          }
        },
        "attach to name": {
          "request": {
            "command": "attach",
            "program": "${file}",
            "waitFor": true
          }
        },
        "attach to pid": {
          "request": {
            "command": "attach",
            "pid": "${pid|int}",
            "program": "${file}"
          }
        },
        "attach to remote gdb": {
          "request": {
            "attachCommand": [
              "gdb-remote ${adttess}"
            ],
            "command": "attach",
            "program": "${file}"
          }
        },
        "launch": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "cwd": "${workdir|dir}",
            "env": "${env|list}",
            "program": "${file}",
            "runInTerminal": false,
            "stopOnEntry": true
          }
        }
      },
      "run": {
        "command": "/nix/store/aflwdar95sz2q1fxlh13chpxfq5rrrzl-lldb-19.1.5/bin/lldb-vscode",
        "redirectStderr": true,
        "redirectStdout": true
      }
    },
    "netcoredbg": {
      "configurations": {
        "launch": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "program": "${file}"
          }
        }
      },
      "run": {
        "command": [
          "/nix/store/vpax49l6fykr9a5yawhq74h2s2mgiiic-netcoredbg-3.1.0-1031/bin/netcoredbg",
          "--interpreter=vscode"
        ],
        "redirectStderr": true,
        "redirectStdout": true
      }
    },
    "nodejs": {
      "configurations": {
        "Chrome (Attach)": {
          "request": {
            "command": "attach",
            "console": "integratedTerminal",
            "port": "${port}",
            "processId": "${pid|int}",
            "protocol": "inspector",
            "sourceMaps": true,
            "stopOnEntry": true,
            "type": "node2"
          }
        },
        "Chrome (Launch)": {
          "request": {
            "command": "launch",
            "console": "integratedTerminal",
            "cwd": "${workdir|dir}",
            "env": "${env|list}",
            "protocol": "inspector",
            "runtimeExecutable": "brave",
            "sourceMaps": true,
            "stopOnEntry": true,
            "type": "chrome"
          }
        },
        "Deno (Launch)": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "console": "integratedTerminal",
            "cwd": "${workdir|dir}",
            "enableDWARF": true,
            "env": "${env|list}",
            "program": "${file}",
            "protocol": "inspector",
            "runtimeArgs": [
              "run",
              "--inspect-wait=localhost:${port}",
              "-A"
            ],
            "runtimeExecutable": "deno",
            "sourceMaps": true,
            "stopOnEntry": true,
            "type": "pwa-node"
          }
        },
        "Node (Attach)": {
          "request": {
            "command": "attach",
            "console": "integratedTerminal",
            "processId": "${pid|int}",
            "protocol": "inspector",
            "sourceMaps": true,
            "stopOnEntry": true,
            "type": "chrome"
          }
        },
        "Node (Launch)": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "console": "integratedTerminal",
            "cwd": "${workdir|dir}",
            "enableDWARF": true,
            "env": "${env|list}",
            "program": "${file}",
            "protocol": "inspector",
            "sourceMaps": true,
            "stopOnEntry": true,
            "type": "node2"
          }
        }
      },
      "run": {
        "command": [
          "/nix/store/wlzxrphj23ykb42hybxr79pkiryzhhvc-vscode-js-debug-1.96.0/bin/js-debug",
          "${port}"
        ],
        "port": 0
      }
    },
    "php": {
      "command": [
        "/nix/store/fkyp1bm5gll9adnfcj92snyym524mdrj-nodejs-22.11.0/node",
        "/nix/store/jjdcp91jqrzlsh3w47a8sv63wq7ygnfa-vscode-extension-xdebug-php-debug-1.34.0/share/vscode/extensions/xdebug.php-debug/out"
      ],
      "configurations": {
        "request": {
          "command": "launch",
          "port": 9000
        }
      }
    },
    "roku-debug": {
      "configuration": {
        "launch": {
          "request": {
            "args": "${args|list}",
            "command": "launch",
            "program": "${file}"
          }
        }
      },
      "run": {
        "command": [
          "/nix/store/fkyp1bm5gll9adnfcj92snyym524mdrj-nodejs-22.11.0/bin/npx",
          "-y",
          "roku-debug",
          "--dap"
        ]
      }
    }
  }
}

However only the haskell, netcoredbg and nodejs are shown in the debugger dropdown. How do I show the other debugger options?

You may have to restart kate when adding a new debug adapter

1 Like

I restarted it, didn’t work