版权声明:博客地址:blog.csdn.net/x356982611,未经允许不得转载,不得转载,不得转载 https://blog.csdn.net/x356982611/article/details/82252723
简介
使用golang的pprof工具,使用时候提示
Couldn't find a suitable web browser!
,原因是找不到默认的浏览器
Set the BROWSER environment variable to your desired browser.
解决方法
export BROWSER='/usr/bin/firefox'
参考
https://superuser.com/questions/1262977/open-browser-in-host-system-from-windows-subsystem-for-linux
https://blog.csdn.net/x356982611/article/details/82252723