Azure / Azure/azure-functions-nodejs-worker
Improve docs on passing args to node process
- Dominant language
- TypeScript
- Stars
- 110
- Forks
- 51
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 2
Description
`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:
```sh
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`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.