虚机环境
Hype 虚拟机安装 黑多
配置虚机配置
![](https://img-blog.csdnimg.cn/img_convert/21b2530019579e16b402370674983ebd.png)
开启测试模式
windows cmd(管理员)
bcdedit /set testsigning on
调试环境
VS2019(用管理员权限)
安装WDK( 需要对应VS版本)
日志远程输出
Dbgview(注意系统是32/64) 拷贝到虚拟机器里面
cmd 到 Dbgview目录
执行 Dbgview /a /k /v
本地开启Dbgview 关闭本地链接
computer -> connect 输入虚拟机地址
调试机和虚拟机 需要可以ping通
VS断点调试
配置
![](https://img-blog.csdnimg.cn/img_convert/90eed73b195c2671707ce6f58f0c2a80.png)
![](https://img-blog.csdnimg.cn/img_convert/d88afea5a5e22169ea7cc7b762a8d6bd.png)
![](https://img-blog.csdnimg.cn/img_convert/4f1cd9255a328edb222145bce16e8b0b.png)
![](https://img-blog.csdnimg.cn/img_convert/a2e1e923b58a7fe66c889d18faea8a51.png)
![](https://img-blog.csdnimg.cn/img_convert/90165eb4664ff8b8d897ca9c4cd79b94.png)