如何禁用“只是我的代码"在 VSCode 调试器中设置? [英] How to disable "just my code" setting in VSCode debugger?

查看:77
本文介绍了如何禁用“只是我的代码"在 VSCode 调试器中设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试器(C# .NET Core)中启动我的项目时,它声明它正在调试只是我的代码".

When starting my project in the debugger (C# .NET Core), it states it's debugging "just my code".

我还想调试库,但在 VSCode 的任何地方都看不到禁用此功能的设置.

I want to also debug the libraries, and can't see a setting to disable this anywhere in VSCode.

是否可以禁用?

推荐答案

为此,您需要更改 launch.json 文件.在 launch.json 文件中,您必须将 "justMyCode" 设置为 false.

For this you need to change the launch.json file. Inside the launch.json file you have to set "justMyCode" to false.

此处所述.(我通过 Visual Studio Code 网站上的这篇文章指向了该链接.)

As described here. (I was pointed to that link through this post on the Visual Studio Code site.)

这篇关于如何禁用“只是我的代码"在 VSCode 调试器中设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆