You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn: The package.json in the current directory does not list Sails as a dependency...
warn: Are you sure `/home/ciro/bak/git/nodejs-cheat` is a Sails app?
warn:
info: Running app in debug mode...
info: ( to exit, type <CTRL>+<C> )
(node:30100) [DEP0062] DeprecationWarning: `node --debug` and `node --debug-brk` are invalid. Please use `node --inspect` or `node --inspect-brk` instead.
and then sails quits.
Ah wait, maybe it ends because I didn't launch node-inspector first, will try that. But now node-inspector install fails with:
../src/debug.cc:1:10: fatal error: v8-debug.h: No such file or directory
so I didn't manage to try it out straightaway. Maybe the same as this unresolved bug: node-inspector/v8-debug#26 which seems to say inspector is deprecated, use node --inspect instead.
Then I tried to start node with:
node --inspect app.js
and it does launch, but if I put a debugger statement
The text was updated successfully, but these errors were encountered:
Sails version: 1.1.0
Node version: v10.15.1
NPM version: 6.4.1
DB adapter name: N/A
DB adapter version: N/A
Operating system: Ubuntu 18.10
Create new web page app with:
sail new sails
.Then try to run
sails debug
. Logs show:and then sails quits.
Ah wait, maybe it ends because I didn't launch node-inspector first, will try that. But now node-inspector install fails with:
so I didn't manage to try it out straightaway. Maybe the same as this unresolved bug: node-inspector/v8-debug#26 which seems to say inspector is deprecated, use
node --inspect
instead.Then I tried to start node with:
and it does launch, but if I put a
debugger
statementThe text was updated successfully, but these errors were encountered: