hackwaly/vscode-ocaml-debugger

launch.json configuration

Opened this issue · 3 comments

How to configure launch.json?

An example would help

Here is an example for to launch debugger for Flow, feel free to use as an example:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "OCaml",
            "type": "ocaml-debugger",
            "request": "launch",
            "program": "${workspaceFolder}/bin/flow",
            "console": "internalConsole",
            "stopOnEntry": false,
            "arguments": ["check", "${workspaceFolder}/local-test/test.js", "--max-workers=0", "--verbose-indent"]
          }
    ]
}