WebStorm supports a feature called spy-js, I'm not familiar of this tech. but anyway, I try to run a lb project with it, it always crash with following error:
/usr/local/bin/node /Applications/WebStorm.app/Contents/plugins/spy-js/server/spyNode.js --spyJsServerPort=3547 --spyJsTracedApp=/Users/clark/WebstormProjects/uce-api-server/server/server.js --spyJsChildProc=false
spy-js has started
session store: /var/folders/6r/pys301fn5rj7q6svp346v7jh0000gn/T/spy-js-session115103-59288-1vl2e07
session (xx7fv): new session created: xx7fv
session (xx7fv): dynamic config created: /var/folders/6r/pys301fn5rj7q6svp346v7jh0000gn/T/115103-59288-1eji37r.js
session (xx7fv): ----------- Starting traced application process (59288) -----------
session (xx7fv): Unexpected token ILLEGAL
SyntaxError: Unexpected token ILLEGAL
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/clark/WebstormProjects/uce-api-server/node_modules/loopback/node_modules/loopback-phase/lib/phase.js:22:41)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)
You can try spy-js on a fresh lb project, it's always the same error.