Hi every one, i try to run debugger on my project and met this issue, i exclude not interpreted module :jose, :jose, JOSE, JOSE., public_key*. It run normally without debug mode. I'm using OTP 20, elixir 1.5.1
** (Mix) Could not start application jose: :jose_app.start(:normal, []) returned an error: shutdown: failed to start child: :jose_server
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: {:error, {:asn1, {{:nif_not_loaded, :module, :asn1rt_nif, :line, 107}, [{:erlang, :nif_error, [{:nif_not_loaded, :module, :asn1rt_nif, :line, 107}], []}, {:asn1rt_nif, :decode_ber_tlv_raw, 1, [file: 'asn1rt_nif.erl', line: 107]}, {:asn1rt_nif, :decode_ber_tlv, 1, [file: 'asn1rt_nif.erl', line: 83]}]}}}
(public_key) public_key.erl:242: :public_key.der_decode/2
(jose) src/jose_server.erl:178: :jose_server.check_ec_key_mode/2
(stdlib) lists.erl:1263: :lists.foldl/3
(jose) src/jose_server.erl:143: :jose_server.support_check/0
(jose) src/jose_server.erl:89: :jose_server.init/1
(stdlib) gen_server.erl:365: :gen_server.init_it/2
(stdlib) gen_server.erl:333: :gen_server.init_it/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Same issue here.
guardian depends on jose, which uses a NIF, which can't be loaded by debugger.
Haven't found a solution yet; will post if I find one.
Excluding does _not_ work:

Solved it by excluding :asn1rt_nif:

Thanks, after trying that, i bump into this, i'm new with elixir.
** (Mix) Could not start application jose: :jose_app.start(:normal, []) returned an error: shutdown: failed to start child: :jose_server
** (EXIT) an exception was raised:
** (ErlangError) Erlang error: {:nif_not_loaded, :module, :crypto, :line, 310}
:erlang.nif_error({:nif_not_loaded, :module, :crypto, :line, 310})
(crypto) crypto.erl:73: :crypto.nif_stub_error/1
(crypto) crypto.erl:306: :crypto.strong_rand_bytes/1
debugger.xml file (mine was in ~/.WebStorm2018.2/config/options/debugger.xml).Thank you, after adding :crypto, it finally run
Most helpful comment
Solved it by excluding
:asn1rt_nif: