You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
285 B

  1. -module(rebar_gdb_plugin).
  2. -compile(export_all).
  3. pre_eunit(_Config, _AppFile) ->
  4. case os:getenv("USE_GDB") of
  5. false ->
  6. ok;
  7. _ ->
  8. Prompt = io_lib:format("GDB Attach to: ~s~n", [os:getpid()]),
  9. io:get_line(Prompt)
  10. end,
  11. ok.