Improve deploy-pr and insert console.log for debugging