有没有办法跟踪扩展的资源使用情况? [英] Is there a way to track an extension's resource usage?
问题描述
我通过 GitHub 和 Google 搜索注意到很多人有和我类似的问题:vscode 挂起,除了文本编辑器之外,没有任何工作.有时,除了调试之外,一切都正常.
I've noticed through GitHub and Google search that a lot of people have similar issues as mine: vscode hangs and apart from the text editor, nothing works. Sometimes everything but debugging works.
像往常一样,禁用所有扩展可以让它完美运行.检查开发人员工具,我可以注意到 [Extension Host]
疯狂地工作.
As usual, disabling all extensions make it work perfectly. Checking developer tools, I can notice [Extension Host]
working like crazy.
我的问题是:有没有办法检查每个扩展程序对进程、磁盘等的使用情况?类似于 Google Chrome 的任务管理器.
My question is: is there a way to check each extension's usage of process, disk, etc? Something similar to Google Chrome's Task Manager.
推荐答案
截至 VSCode 1.23(2018 年 4 月),现在有一个内置的进程资源管理器.可以用Developer: Open Process Explorer
命令打开:
As of VSCode 1.23 (April 2018), there is now a Process Explorer built-in. It can be opened with the Developer: Open Process Explorer
command:
这篇关于有没有办法跟踪扩展的资源使用情况?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!