go through pry-local config when to call control_d_handler.