#breakpoint in the code: import ipdb; ipdb.set_trace() #print local variable names: locals().keys()