[erlang-questions] Patch for erlang.el (optional debug_info on compile)

Luke Gorrie luke.gorrie@REDACTED
Fri Jun 1 00:46:51 CEST 2007


Hi Bill!

> At present, erlang-mode doesn't provide any way to compile an erlang
> file for debug - you have to manually do the debug compile in an
> Erlang shell.

Once upon a time debug_info was the default. But this was changed
since the way it's implemented is to include the whole parse tree in
the beam file which (a) causes bloat and (b) lets bad guys like me
read your code :-)

If you don't care then put this in e.g. ~/.bashrc to enable it globally:

  export ERL_COMPILER_OPTIONS='[debug_info]'





More information about the erlang-questions mailing list