added base functionality to debug local flows