Add more debugging features to $vm.