hackwaly / ocamlearlybird

OCaml debug adapter
MIT License
208 stars 23 forks source link

feat: add extension logging, improve extension features #35

Closed cdaringe closed 2 years ago

cdaringe commented 2 years ago

problem

solution

image

hackwaly commented 2 years ago

You could build extension on your machine and debug to addressing what the problem.

cdaringe commented 2 years ago

Yes, that is where I made this changeset. I’d suggest that emitting log output (local to the extension panel) is a best practice regardless. What do you think? For instance, I’ve used the output panel from ocaml platform ext to discover problems I had with the LSP. I used output last week to discover a bug with a JS extension where the module resolution was not correctly implemented. Logs are quietly tucked away in the extension panel viewer, there only when you need them

hackwaly commented 2 years ago

@cdaringe Is this PR ready to merge?

cdaringe commented 2 years ago

oh, greetings. yes, i think it is πŸ‘ . i was just in the process of adding additional documentation to the changeset.

hackwaly commented 2 years ago

OK. Call me if you think we can merge it.

---Original--- From: "Christopher @.> Date: Sun, Oct 31, 2021 10:20 AM To: @.>; Cc: @.**@.>; Subject: Re: [hackwaly/ocamlearlybird] feat: add extension logging, extfeatures (PR #35)

oh, greetings. yes, i think it is πŸ‘ . i was just in the process of adding additional documentation to the changeset.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

cdaringe commented 2 years ago

wooo hoo! ocamlearlybird just helped me track down a bug i've been looking for for >1 week :) i used this extension branch the whole time :) i think we're g2g!

hackwaly commented 2 years ago

@cdaringe You are welcome to add prettier into this project

cdaringe commented 2 years ago

done, if you’re good I’m good :)