How Do I Run a Node.Js App in PHPStorm with Query Strings?

I have a Node.js project that I created in PHPStorm that runs find when I use the run feature. The problem takes place if I want to add query strings to the name of the file. For instance running app.js runs just fine but app.js?q=query returns an error saying "Error: Cannot find module app.js?q=query"

How do I run the application with query strings appended to the file?

0

请先登录再写评论。