Pass -spp true to the Erlang VM on startup (in the escript).