[英]How do I pass args while debugging a node.js project in Visual Studio 2017?
Please note this is specifically for VS2017. 请注意,这是专门针对VS2017的。 Everything I've turned up while searching is for VS Code.
我在搜索时打开的所有内容都是VS Code。
I can pass args just fine running a node.js project from CMD. 我可以通过CMD运行好node.js项目来传递args。 But in VS2017 the args I placed in the project properties page's Script arguments field aren't getting passed to the script.
但是在VS2017中,我放置在项目属性页面的脚本参数字段中的参数没有传递给脚本。 I've tried with and without quotes.
我试过有无引号。
将VS 2017更新到最新版本(在撰写本文时,版本为15.2(26430.16))已解决了该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.