[unity]vscode调试unity

2020/03 08 23:03

一、安装dotnetsdk,并将dotnet sdk的路径配置到系统PATH中

二、vscode安装unity3d-pack包

三、vscode中,点击左侧小虫切面,点 RUN AND DEBUG, Unity Editor

打好断点,运行,并行会输出以下内容

UnityDebug: Initializing
UnityDebug: Searching for Unity process ‘Unity Editor’
UnityDebug: Attached to Unity process ‘Unity Editor (Unity)’ (6868)
UnityDebug: Disconnected