start debugging from a file without extension

Jul 14, 2015 at 8:51 PM
Edited Jul 14, 2015 at 8:59 PM
Express 4 has normally does not start from app.js
it has in package.json

"scripts": {
"start": "node ./bin/www"
},

"www" is a javascript file.
"npm start" respects this and starts from the www file.

how do I config VS to start debugging from the file specified in package.json?

UPD: It woks OK if I create new Express 4 project via Node.js Tools but if I create project from existing Node.js code it ignores "www" file.
Coordinator
Jul 15, 2015 at 7:52 PM
Hey there, sorry for the late response. We were all hanging out at our new home on GitHub. Please file an issue there if you're still running into this issue.
https://github.com/Microsoft/nodejstools

Fwiw, we've actually fixed this issue and it's available in the latest dev build
Marked as answer by mousetraps on 7/15/2015 at 12:52 PM