This is a followup for this github <https://github.com/elixir-lang/elixir/issues/9325> PR. Please note that I'm very interested in implementing this feature myself, but was hoping for some feedback from the community before I invest time in it.
I recently read this <https://hackernoon.com/python-3-7s-new-builtin-breakpoint-a-quick-tour-4f1aebc444c> article about breakpoints in python 3, which implemented PEP553 <https://www.python.org/dev/peps/pep-0553/>, and a few things stood out: 1. A breakpoint function is built-in, not requiring imports (i.e. requires). I realize adding a require is not hard, but having breakpoint become a function that's accessible everywhere will really reduce the friction for its usage. 2. Breakpoints can be enabled/disabled via an environment variable. This can be the default in production to avoid unnecessary requires. 3. The type of debugger can be modified via the environment variable as well. This is probably not necessary for the first iteration of this. I was wondering what people's opinions are about points 1 & 2, and eventually point 3 as well. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/bf63e5a2-6997-44fd-82da-23f56a36412b%40googlegroups.com.
