Remix.run Logo
victorbjorklund 3 hours ago

That is just wrong.

> You need Beam and the Elixir. I find that really weird, because I'm used to just the language like in Python, Java, C, Rust. Not something underneath it, too

The beam is a VM. You get that Java requires a VM too right? It’s called JVM for a reason. And Python requires an interpreter.

> There is no debugger. The way to debug Elixir is to print stuff to the console, like 40 years ago.

That is false. https://www.erlang.org/doc/apps/debugger/debugger_chapter.ht... and you have observer. And you have a lot of other debugging tools. I hear Java has a good one and maybe it’s better (I never used it) but it’s not true there exist no debuggers for the beam.

Spixel_ 2 hours ago | parent [-]

Almost nobody uses it though, which is too bad, especially since multi-head functions sometimes make it difficult to follow the execution path.

I'd like to do step by step but I cannot plug the debugger to VScode from inside a docker container.

seanclayton 2 hours ago | parent | next [-]

No one I know wears the shoes I like to wear, which is too bad, because that means I can't enjoy them as much now.

Spixel_ an hour ago | parent [-]

I meant that it doesn't get much love from the community, it's pretty clear it's not used much, that's why things like `dbg` gets added to the language.

ch4s3 an hour ago | parent | prev | next [-]

I've used it, but I've very rarely needed to do so.

cmoski 2 hours ago | parent | prev [-]

People use it.

Spixel_ an hour ago | parent | next [-]

Some do, but the DX was bad last time I tried, I did not find a way to use it with my setup.

an hour ago | parent | prev [-]
[deleted]