func start with -- "--prof" seems to do nothing. I, at least, can't find the resulting *.log file anywhere on my system.
Adding --prof to NODE_OPTIONS in local.settings.json results in an error message.
Relevant output snippet:
Azure Functions Core Tools
Core Tools Version: 4.0.4865 Commit hash: N/A (64-bit)
Function Runtime Version: 4.12.2.19454
[2022-12-01T13:39:27.380Z] Language Worker Process exited. Pid=14562.
[2022-12-01T13:39:27.380Z] node exited with code 9 (0x9). .
[2022-12-01T13:39:27.390Z] node: --prof is not allowed in NODE_OPTIONS
Easy profiling of Node.js apps (https://nodejs.org/en/docs/guides/simple-profiling/) seems impossible, unless I'm missing something.
Please allow us to profile Node.js apps run with func start.
func startwith-- "--prof"seems to do nothing. I, at least, can't find the resulting *.log file anywhere on my system.Adding
--proftoNODE_OPTIONSinlocal.settings.jsonresults in an error message.Relevant output snippet:
Easy profiling of Node.js apps (https://nodejs.org/en/docs/guides/simple-profiling/) seems impossible, unless I'm missing something.
Please allow us to profile Node.js apps run with
func start.