Prepare for debug