问题描述
我通过VS中的“创建新项目”向导从现有的Node.js TypeScript Web代码在Visual Studio Pro 2019中创建了一个项目。我正在使用Windows 10计算机。
启动Performance Profiler时,唯一可用的工具是“事件查看器”。我要使用的工具是“仪器”,以便我可以测量通话次数和通话响应时间。
在VS中的Node.js TypeScript Web项目上,有没有人能成功做到这一点?如果是这样,您如何启用“仪器”工具?
我在以下链接中看到了概要分析,但它可能是指Node.js JavaScript项目:https://visualstudio.microsoft.com/vs/features/node-js/
解决方法
我无法使用Visual Studio 2019来分析Node.js项目,但我正在使用Visual Studio Code作为解决方法。
Can I profile NodeJS Applications using Visual Studio Code?
我一直在Visual Studio 2019中对C ++项目使用探查器,它比VS Code上的探查器更好。