debug mode for vm