<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 29, 2018 at 7:30 AM, Igor Clark <span dir="ltr"><<a href="mailto:igor.clark@gmail.com" target="_blank">igor.clark@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <br>
    - How should I specify that rebar3 should run "cerl" instead of
    "erl" ?<br></div></blockquote><div><br></div><div>You can't, especially if you're using 'rebar3 shell', where all we can do is boot a shell within an escript. Do try to debug from a release. You can probably do something like</div><div><br></div><div>cerl -boot _build/prod/rel/<relname>/release/<version>/<relname> -config 
_build/prod/rel/<relname>/release/<version>/sys</div><div><br></div><div>or if possible:<br></div><div><br></div>
_build/prod/rel/<relname>/erts-<vsn>/bin/erl -boot _build/prod/rel/release/<version>/<relname> -config 
_build/prod/rel/release/<version>/sys

-emu_type debug <br></div><div class="gmail_quote"><br></div><div class="gmail_quote">These two commands will ignore the contents of your vm.args but they let you call the underlying mechanism to boot the VM with the arguments you need without the nodetool wrappers that relx ships.<br></div><br></div></div>