debug for exec and some tests