Skip to content

Commit

Permalink
Add map_workspace_root hint to README
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Aug 1, 2023
1 parent 0e5fa4d commit 98eba78
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ This requires VSCode OCaml Platform 1.13 or newer.

> PS. Since the integration into VSCode OCaml Platform, the old "Ocamlearlybird" VSCode extension is deprecated.
## Troubleshooting

### Breakpoints not hit with `(lang dune 3.0)` and above

Change to `(lang dune 3.7)` or above and add `(map_workspace_root false)` to your `dune-project`.
See [dune documentation](https://dune.readthedocs.io/en/stable/dune-files.html#map-workspace-root) for more information.

## Examples

### utop
Expand Down

0 comments on commit 98eba78

Please sign in to comment.