debugging for running code on test sim run