-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug Flow? #5
Comments
I have not enough time to address your issue. You can use ocaml-debugger to debug ocaml-debugger to debug flow to check out what happens. First you need clone [email protected]:hackwaly/ocamlearlybird.git, Use vscode open the project folder. Then use this configuration to debug ocamlearlybird.
Then use the debugged ocamlearlybird to debug flow:
|
Hi @hackwaly, In sessiom.ml and Launch_command gets following args: Also noticed that the program is apparently launched with
Maybe this is the culprit? Taking the E: When downgrading Ocaml from 4.06.0 to 4.05.0, the error changes to:
|
Looks like this issue ocaml-community/utop#34 |
@villesau This should be fixed as I removed the unnecessary |
@hackwaly Nice, thanks! Works like a charm now! |
Flow has issue of debugging, and people has succeeded to debug it with certain configurations: facebook/flow#4181
Anyhow, with
vscode-ocaml-debugger
I have not been able to start debug session with flow. Looks like nothing happens with following config, just endless blue loading bar appears and thats it:Would be nice to see some logging if there is e.g something that goes wrong.
The text was updated successfully, but these errors were encountered: