Hello All,
I want to debug my OCaml code. please suggest me debugger for that.
I open the file in Visual Studio Code.
1 Like
earlybird has good vscode integration afaik.
announcement post:
[ANN] ocamlearlybird 1.0.0 beta1 - Ecosystem - OCaml
2 Likes
Hello
after adding ocamlearlybird extension
I have this code in the launch.json file
`{
"version": "0.2.0",
"configurations": [
{
"name": "OCaml Debug",
"type": "ocamlearlybird",
"request": "launch",
"program": "${workspaceFolder}/main.ml",
"stopOnEntry": false,
"yieldSteps": 4096,
"onlyDebugGlob": "<${workspaceFolder}/**/*>"
}
]
}`
but still, I get the error: unsupported file formate
how to solve this
I’m not sure as I don’t have vscode myself. Maybe someone who does have this setup can be of help ^^