我有Live-Server扩展安装在我的VSCode。我试图运行实时服务器,但弹出窗口出现如下:
This is a reminder to make sure that you have not forgotten to attach 'cUsersHPAppDataLocalTempritwickdey.LiveServer-unresponsive.cpuprofile.txt' to an existing performance issue.
我找不到太多的资源来理解问题是什么,或者我应该采取什么行动。
BTW:实时服务器不是自己加载浏览器页面,而是在端口:5500运行。请帮助。
经过研究,我找到了这个博客,在那里我知道这是因为性能问题https://www.nicoespeon.com/en/2019/11/fix-vscode-extension-performance-issue/
首先捆绑你的vsCode扩展:https://code.visualstudio.com/api/working-with-extensions/bundling-extension
如果解决了这个问题,那么很好,如果没有,然后添加这个扩展到vsCodehttps://marketplace.visualstudio.com/items?itemName=nicoespeon.abracadabra
希望第一个链接将提供完整的解决方案。快乐学习