Webstorm 9 debugger hangs

Hi, still have a little of a rough time getting used to 9, I am having a hard time debugging, I set it up the same as in 8, if I run the project in 8 it debugs but in 9 in the console, you can see that the express server doesn't start right away, when it does it sill doesn't debug, the page just hangs and seems to never finish a request as "waiting for ..." just never goes away, but in non-debug, it is fine, I attached my app.js config, below is my app.js, sorry for the mess as I am trying to figure out what the problem is.

Any help with this would be great, otherwise I can't use 9 and my upgrade was for nothing, and that would suck :)



var express = require('express');
var path = require('path');
var http = require('http');
var _ = require('underscore');
_.str = require('underscore.string');
_.mixin(_.str.exports());
_.str.include('Underscore.string', 'string');

//var neo4j = require('neo4j');
//var db = new neo4j.GraphDatabase('http://localhost:7474');

var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

//var routes = require('./routes/index');
var routes = require('./routes');

var users = require('./routes/users');

var app = express();
app.locals.moment = require('moment');

// view engine setup
app.set('port', process.env.PORT || process.argv[2]);
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');



app.use(logger('dev'));
app.use(bodyParser.json());
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));

app.get('/', routes.index);
app.post('/', routes.indexPost);

module.exports = app;

http.createServer(app).listen(app.get('port'), function(){
    console.log('Express server listening on port ' + app.get('port'));
});


2 comments
Comment actions Permalink

Please try upgrading to 9.0.2 EAP (http://confluence.jetbrains.com/display/WI/WebStorm+EAP) and see if the problem persists.
If it does, please attach your idea.log

0
Comment actions Permalink

Yea was ever is different it seems fine now, hopefully this will be the last of the upgrade bumps.

Thanks for your help again.

0

Please sign in to leave a comment.