psi debugging