When creating a new project from existing code (express 4 app) the option to set the startup file to bin/www should appear next to app.js and probably be default.
In the case of app.js the run or debug commands will fail to work
In the case of app.js the run or debug commands will fail to work