xmake-io / xmake-vscode

🍩 A XMake integration in Visual Studio Code
https://xmake.io
Apache License 2.0
227 stars 54 forks source link

vscode 调试配置launch.json无法添加visualizerFile属性 #246

Closed HiiroAyane closed 8 months ago

HiiroAyane commented 9 months ago

Is your feature request related to a problem? Please describe.

在调试过程中无法可视化变量值

Describe the solution you'd like

launch.json xmake支持添加可视化文件,使变量值可见

Describe alternatives you've considered

No response

Additional context

No response

Issues-translate-bot commented 9 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: vscode debugging configuration launch.json cannot add the visualizerFile attribute

waruqi commented 9 months ago

xmake.customDebugConfig 可自定义任何配置

HiiroAyane commented 8 months ago

xmake.customDebugConfig 可自定义任何配置

请问具体在哪里设置呢?

waruqi commented 8 months ago

设置 -> xmake -> customDebugConfig

waruqi commented 8 months ago

你可以搜下 issues 。有相关配置

HiiroAyane commented 8 months ago

在settins.json 里面添加以下内容: "xmake.customDebugConfig": { "visualizerFile": "D:/xxx.natvis" }