sails.js - 'Step Over' doesn't work while debugging sails App using Webstorm 8 -


i'm trying debug sails app webstorm(8), "step over" doesn't work.

the app stop @ breakpoint, when "step over/into/...", app resume run. have try different breakpoints , different sails version(0.10), still don't work.

enter image description here

debug output:

/usr/local/bin/node --debug-brk=63616 --nolazy app.js debugger listening on port 63616 error: grunt :: debugger listening on port 63616  info:  info:  info:    sails.js           <| info:    v0.9.16             |\ info:                       /|.\ info:                      / || \ info:                    ,'  |'  \ info:                 .-'.-==|/_--' info:                 `--'-------'  info:    __---___--___---___--___---___--___ info:  ____---___--___---___--___---___--___-__ info:  info: server lifted in `/developer/projects/webstormprojects/sailsapp` info: see app, visit http://localhost:1337 info: shut down sails, press <ctrl> + c @ time.  debug: -------------------------------------------------------- debug: :: mon apr 07 2014 17:33:29 gmt+0800 (cst) debug:  debug: environment  : development debug: port     : 1337 debug: -------------------------------------------------------- info: handshake authorized dw3xntn8ikusnkjkiq2t info: transport end (undefined) info: handshake authorized kbuc8ajfzqkhaagriq2u 

as can see, app stops @ line 20, once press 'step over'(or other "step ****"), app won't stop @ line 21, continue run, unless setup breakpoint @ line 21.

enter image description here

do miss something? or sails' bug or webstorm's bug? debug other express apps using webstorm, has never happened before.

just tried debugging simple sails app in webstorm8 - breakpoint set on same line of node_modules\sails\lib\hooks\controllers\controller.find.js stepping in/over works expected. have either remove node_modules javascript libraries (settings/javascript/libraries) or make sure uncheck 'do not step library scripts' checkbox in settings/debugger/javascript


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -