Skip to content

DAP documentation required, and is anybody using dap with Helix? #9267

Description

@mabasic

I have just spend an entire day trying to figure out how to use debug with Helix ... still no success.

I am trying to configure https://github.com/microsoft/vscode-js-debug so that i can debug Deno programs.

This is what I have so far:

[language.debugger]
name = "test"
transport = "stdio"
quirks = { absolute-paths = true }
command = "node"
args = ["/home/mabasic/bin/js-debug/src/dapDebugServer.js", "8123"]

[[language.debugger.templates]]
type = "pwa-node"
name = "source"
request = "launch"
completion = [ { name = "main", completion = "filename", default = "index.js" } ]
args = { program = "{0}", runtimeExecutable = "deno", runtimeArgs = ["run", "--unstable-kv", "--inspect-wait", "--allow-all"], attachSimplePort = "9229" }

it returns request 0 timed out when I do ctrl g l and then select "source".

I have managed to start the dap in a separate terminal and use :debug-remote 127.0.0.1:8123 and it would connect, but the dap would respond with config unknown or something like that every time in the terminal. I have tried changing everything that I could find. I have tried changing to "tcp", but it complains about incorrect transport...

Can somebody help with this?

What are the available options and what do they do and what values can I enter and why. So much unknown.

This is my reference:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions