Added debug feature to allow for restarts in browser