-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Invalid dap result from ghci #18
Comments
Hi.
This seems that haskell-debug-adapter lost stdio handle to ghci-dap. Could you run these commands from the console?
I tried to reproduce with a servant app, but could't. |
Here is the code, if you want to try to reproduce the issue: https://github.com/malte-v/reflex-stack/tree/739f8bd8466c65be9e6ae75ce3a3acf65a22690a As stated in the README, you need to run |
This seems to be SSL-specific, which is probably why you couldn't reproduce the issue:
When running regularly (not inside the debugger):
|
I can confirm that the issue does not occur when using HTTP. |
What is your OS environment ?
Regards. |
Hey there, thanks for making this extension! I'm having some trouble getting it to work.
My app is a warp server that is accessed from a web browser. I'm able start debugging without any problems:
... but when my app gets an HTTPS request from the browser, the debugger exits with the following message:
Here are the contents of the log file and my
launch.json
:I've tried not printing the "Running on https://localhost:8080" message, but then I get the following error after reloading the browser:
So I don't think this is the culprit. I've installed these versions of the tools mentioned in the VSCode extension README:
Any idea what could have gone wrong here? Thanks!
The text was updated successfully, but these errors were encountered: