GitHunt
JO

joshmhanson/ocamlearlybird

OCaml debug adapter

ocamlearlybird: make OCaml debugging less sucks

ocamlearlybird is a debug adapter purely written in OCaml. See debug adapter protocol to get more information.

Installation

ocamlearlybird can be installed with opam:

opam install earlybird

To use ocamlearlybird in VS Code. Install the extension

Features

default

  • Auto discover sources heuristically
  • Line breakpoints and column breakpoints
  • Basic next, step in, step out and continue commands
  • Inspect stack frames, local variables, closure variables and global variables
  • Function breakpoints
  • Limited expression evaluation
  • Conditional breakpoints
  • Time travel

Documentation

By default ocamlearlybird use stdin and stdout for debug adapter protocol. To launch ocamlearlybird as debug adapter in server mode:

ocamlearlybird --server --port=4711

Languages

OCaml100.0%

Contributors

MIT License
Created October 19, 2018
Updated January 28, 2023
joshmhanson/ocamlearlybird | GitHunt