Skip to content

Instantly share code, notes, and snippets.

@benhsu
Created October 11, 2015 01:10
Show Gist options
  • Save benhsu/0f3bc26bc67a9c1d1d91 to your computer and use it in GitHub Desktop.
Save benhsu/0f3bc26bc67a9c1d1d91 to your computer and use it in GitHub Desktop.
% example code how to get dbg to run
% you can even run this remotely with "erl -remsh ..."
dbg:tracer().
dbg:p(all, c).
dbg:tpl(mnesia, x). % x means "everything", its probably supposed to represent a *
mnesia:info().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment