选项


【Options】

所有选项,包括 V8 选项,都允许单词通过连字符(-)或下划线(_)分隔。例如,--pending-deprecation 等同于 --pending_deprecation

【All options, including V8 options, allow words to be separated by both dashes (-) or underscores (_). For example, --pending-deprecation is equivalent to --pending_deprecation.】

如果一个只接受单个值的选项(例如 --max-http-header-size)被多次传递,则使用最后传递的值。命令行中的选项优先于通过 NODE_OPTIONS 环境变量传递的选项。

【If an option that takes a single value (such as --max-http-header-size) is passed more than once, then the last passed value is used. Options from the command line take precedence over options passed through the NODE_OPTIONS environment variable.】