[erlang-questions] rebar.config debug_info/no_debug_info

Tuncer Ayaz tuncer.ayaz@REDACTED
Sun Sep 16 18:59:22 CEST 2012


I'd like to inform all rebar users who may not be aware that as
suggested by Kostis 'debug_info' has been enabled by default
since March 29th 2011. It can be disabled by specifying 'no_debug_info'.

{erl_opts, [debug_info, warn_foo]}.
=> compile:file(foo, [debug_info, debug_info, warn_foo])

{erl_opts, [warn_foo]}.
=> compile:file(foo, [debug_info, warn_foo])

{erl_opts, [debug_info]}.
=> compile:file(foo, [debug_info, debug_info])

{erl_opts, [no_debug_info, warn_foo]}.
=> compile:file(foo, [warn_foo])



More information about the erlang-questions mailing list