如何直接从扩展文件夹直接对VSCODE扩展进行自定义更改

发布于 2025-02-06 01:50:13 字数 350 浏览 1 评论 0原文

再会。我有一个第三方VSCODE扩展程序,该扩展程序整天都在抛出错误。为了实际诊断这一点,然后在父github存储库上提交问题,我一直在四处张望,并试图弄清楚该错误的何处。

我有一个不错的想法,该错误来自哪里,但是我想添加console.debug语句以确认这一点。

我的问题是:我已经更改了实际VSCODE扩展源代码(安装在VSCODE扩展文件夹中),但是VSCODE没有访问这些更改。我该怎么办?清洁缓存之类的东西,我不确定。

源文件基本上只是一个ts-compiled-to-js文件,因此仍然很容易使用。

我已经检查了开发人员工具控制台(CTRL+Shift+i),但是错误堆栈并不特别有用。

Good day. I have a third-party VSCode extension that's been throwing an error all day. In order to actually diagnose this, and then submit an issue on the parent GitHub repository, I've been poking around and trying to figure out where the error is being thrown from.

I have a decent idea where the error is originating from, but I'd like to add a console.debug statements to confirm this.

My question is this: I've made changes to the actual VSCode extension source code (installed within the VSCode extensions folder ), but VSCode is not picking up those changes. What do I do? Clean the cache or something, I'm not quite sure.

The source file is basically just a Ts-compiled-to-JS file, so still pretty easy to work with.

I've checked out the Developer Tools Console (Ctrl+Shift+I), but the error stack is not particularly helpful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文