Node.js 在Eclipse中重写配置值

Node.js 在Eclipse中重写配置值,node.js,redis,nodeclipse,Node.js,Redis,Nodeclipse,我使用此命令从命令行运行: node app '--NODE_CONFIG={"redis":{"encryption":{"enabled":false}}}' 这会将存储为true的config属性覆盖为false 在Eclipse中,我将此用作程序参数: '--NODE_CONFIG={"redis":{"encryption":{"enabled":false}}}' 当我从NodeEclipse运行时,该属性不会被覆盖。我将此视为运行ps-ef | grep节点的过程: /usr/

我使用此命令从命令行运行:

node app '--NODE_CONFIG={"redis":{"encryption":{"enabled":false}}}'
这会将存储为true的config属性覆盖为false

在Eclipse中,我将此用作程序参数:

'--NODE_CONFIG={"redis":{"encryption":{"enabled":false}}}'
当我从NodeEclipse运行时,该属性不会被覆盖。我将此视为运行ps-ef | grep节点的过程:

/usr/bin/node/home/dev/workspace/project/app.js'-node_CONFIG={redis:{encryption:{enabled:false}}'

在我看来,这很好,但该属性在应用程序中仍然是真实的。如果停止NodeEclipse应用程序并复制并粘贴上面的行,则该属性设置为false


我还尝试将其复制到NodeEclipse中的节点参数部分,但出现了一个错误。

能否更新程序参数的配置方式以及作为节点参数传递时出现的错误。也绝对不清楚该参数应该在什么模块和什么时间处理。