修改 launch.json
添加 pipeTransport
,修改 debuggerPath
为你的 vsdbg 路径
"pipeTransport": { "pipeCwd": "${workspaceFolder}", "pipeProgram": "sudo", "pipeArgs": [ "-i" ], "debuggerPath": "/Users/yukino/vsdbg/vsdbg", "quoteArgs": false }
下载安装 vsdbg
curl -sSL https://aka.ms/getvsdbgsh | proxychains4 bash /dev/stdin -v latest -l ~/vsdbg
注意这里有个坑!!!
MacOS 的默认应该是 vsdbg-osx-x64.zip
,直接执行上面的命令会变成下载 https://vsdebugger.azureedge.net/vsdbg-16-8-11005-1/vsdbg-osx-x64.tar.gz
然后下不下来,只能手动修改为 vsdbg-osx-x64.zip
然后手动下载解压,最后别忘了设置权限 chmod 755 ~/vsdbg
What’s up Dear, are you really visiting this web page on a
regular basis, if so afterward you will without doubt take fastidious knowledge.
Іf some one desires to be updated with most up-to-date technologies after that he must be pay
a quick visit this site and be up to date every ⅾay.