NodeJS profiling options --nodejs-mode: Controls which profiler is used for NodeJS. none- (default) no profiler is used. perf- augment the system profiler (perf) results with jitdump files generated by NodeJS. This requires running yournodeprocesses with--perf-prof(and for Node >= 10, ...
@mjbvz do we have a way to attach remote debugging to TS server process ? We have inspect-extensions and inspect-brk-extensions that mock nodejs inspect, inspect-brk flags for extension host process. If we can add similar flags to the TS server process then we can inspect them from any...
See NodeJS profiling options. Can also generate perf maps at runtime - see attach-maps option. .NET runtime Uses dotnet-trace. The runtime-specific profilers produce stack traces that include runtime information (i.e, stacks of Java/Python functions), unlike perf which produces native stacks...