Skip to content

Instantly share code, notes, and snippets.

@benhsu
Created October 11, 2015 01:11
Show Gist options
  • Save benhsu/2cc2aa428bbf4f59946a to your computer and use it in GitHub Desktop.
Save benhsu/2cc2aa428bbf4f59946a 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