Visual Studio Code 日志文件在哪里? [英] Where are Visual Studio Code log files?

查看:103
本文介绍了Visual Studio Code 日志文件在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 VS Code 经常显示错误,例如错误:无法读取未定义的属性‘名称’".状态栏中的ESLint"标签也显示为带有感叹号的红色.

My VS Code frequently shows an error, something like "Error: cannot read property 'name' of undefined". The 'ESLint' tag in the status bar also shows up in red with an exclamation mark.

我怀疑我团队的自定义 ESLint 插件.我想看看失败的堆栈跟踪,这可能会证实或反驳我的理论.

I suspect my team's custom ESLint plugin. I'd like to see the stack trace of the failure, which would probably confirm or refute my theory.

VS Code 是否会保留此类错误的日志?如果有,他们在哪里?

Does VS Code keep logs for this kind of error? If so, where are they?

(我在 Mac 上运行它.)

(I'm running it on a Mac.)

推荐答案

在 Linux 上,~/.config/Code/logs 下有一些日志文件.希望这会有所帮助.

On Linux there are some log files under ~/.config/Code/logs. Hope this helps.

这篇关于Visual Studio Code 日志文件在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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