can't run/debug
Sorry, newbie here... I'm just trying to get a simple hello world working. (Simple application w/exported start & stop with an io.format...)
Note I had to create the _build/default dir manually, and I have set up the launch and task config files as directed.
It compiles fine from werl or vscode_erlang, and runs from werl, but when I try to run from the extension I get:
Invalid beam file or no abstract code: ".../repos/erlang/test/foo.erl
Looks like it's trying to run the source code instead of the beam file??
thanks
Hi,
To compile an erlang project, you should use a tool like rebar3 (https://github.com/erlang/rebar3). It's very popular tool in erlang. And erlang extension use it to compile your source code.