"Step Over" does not work while debugging sailing applications using Webstorm 8

I am trying to debug a Sails application with WebStorm (8), but "Step Over" does not work.

The application will stop at the breakpoint, but when I do "Step Over / Into / ...", the application will resume. I tried different breakpoints and another version of Sails (0.10), still not working.

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: To see your app, visit http://localhost:1337
info: To shut down Sails, press <CTRL> + C at any 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 you can see, the application stops at line 20, but as soon as I click "Step Over" (or another "Step ****"), the application will not stop at line 21, it will continue to work if I did not set another point break on line 21.

enter image description here

- ? -? - WebStorm, .

+4
1

sails WebStorm8 - , node_modules\sails\lib\hooks\controllers\controller.find.js stepping in/over . node_modules javascript- (Settings/javascript/libraries), 'Do not step into library scripts' //javascript

+19

Source: https://habr.com/ru/post/1535336/


All Articles