Thanks for sharing, Zach

I gave it a try and it worked as advertised.

Found that clicking on the "fringe" next to the code line
automatically sets a breakpoint so it doesn't need a manual M-x
dap-breakpoint-add!

Cheers,
-Nick

On Thu, Sep 1, 2022 at 9:36 PM Zach Lankton <zachlank...@gmail.com> wrote:
>
> Hello Team,
>
> I am relatively new to contributing to the CouchDB code base and have been
> working primarily on improving the VSCode Devcontainer and some beginner
> bugs.
>
> Recently, I've been working on getting code reloading and debugging to work
> with the CouchDB code base using the Erlang LS extension.  I started with
> the VSCode DevContainer but recently challenged myself to learn enough
> emacs to get this working there as well.
>
> My overall goal is to improve the onboarding of new developers to the code
> base.  I really like the (mostly) one-click launch of the dev container and
> how quickly you can be working with the code without all the hassle and
> heartache of the traditional method of setting up a dev environment and
> installing all the dependencies.  Additionally, this makes for excellent
> isolation from your main host machine and can be thrown away easily when
> you are finished.  I plan to continue making improvements in this regard
> while learning my way around the project and Erlang in general.
>
> In the meantime, for those interested in trying out code reloading and
> debugging with the erlang_ls extension, I have written instructions on
> getting started.  These instructions are for Ubuntu and emacs but should be
> similar, if not identical, for other OS's and IDE's.
>
> I would love to hear from anyone trying this out!
>
> https://gist.github.com/zachlankton/e3300672a75c8ed7fd5b77093c0e8738
>
> --
> Thanks!
> Zach Lankton

Reply via email to