debug can alter session text directly. fixes #35