The express-generator utility creates a JavaScript file with no extension that is supposed to be used to launch the project:
Contents of `bin\www`:
```
#!/usr/bin/env node
var debug = require('debug')(Test');
var app = require('../app');
app.set('port', process.env.PORT || 3000);
var server = app.listen(app.get('port'), function() {
debug('Express server listening on port ' + server.address().port);
});
```
Because it does not have a .js extension, the UI does not allow selecting as the startup file.
We should allow selecting either any file, any extensionless file, or any file containing a node shebang line, as the startup file.
Comments: Note that users can open any file using our language service and regardless of its extension, if they use "Open With..." (through right-click) and select Node.js editor.
Contents of `bin\www`:
```
#!/usr/bin/env node
var debug = require('debug')(Test');
var app = require('../app');
app.set('port', process.env.PORT || 3000);
var server = app.listen(app.get('port'), function() {
debug('Express server listening on port ' + server.address().port);
});
```
Because it does not have a .js extension, the UI does not allow selecting as the startup file.
We should allow selecting either any file, any extensionless file, or any file containing a node shebang line, as the startup file.
Comments: Note that users can open any file using our language service and regardless of its extension, if they use "Open With..." (through right-click) and select Node.js editor.