pre debugging