如何直接从扩展文件夹直接对VSCODE扩展进行自定义更改
再会。我有一个第三方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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论