Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--debug is deprecated #118

Closed
mthsmlk opened this issue Jan 31, 2018 · 4 comments
Closed

--debug is deprecated #118

mthsmlk opened this issue Jan 31, 2018 · 4 comments

Comments

@mthsmlk
Copy link

mthsmlk commented Jan 31, 2018

Hello,

i updated my project and node.js to v8.9.3 with this grunt plugin and this warning appears on start :
(node:13920) [DEP0062] DeprecationWarning: node --debug and node --debug-brk are invalid. Please use node --inspect or node --inspect-brk instead.

But the server stops after this message.

I just changed --debug in /task/lib/server.js to --inspect so this worked well now... but maybe you have to check node version and use debug or inspect...

greetings

@nmarcetic
Copy link

Confirming. I am using node v8.9.4 same problem, @molethiaz your idea to hack the lib helped :)

@p3x-robot
Copy link

https://github.com/patrikx3/grunt-p3x-express , it using inspect

@jdmcnair
Copy link

jdmcnair commented Jan 8, 2020

I'm confused. It looks like this issue was resolved in this commit: 8156d6e

But I don't see any new releases that have happened since then (Sep 15, 2017)? Latest release I see is 0.5.1 (Apr 3, 2015).

Edit: OK, actually it looks like there have been several releases, available on npm, that are not listed in the releases here on github. Version 0.5.4 does include the fix for this, so it looks like this ticket can be closed.

@mthsmlk
Copy link
Author

mthsmlk commented Jul 7, 2023

Thank you for clarifying. All right then I close the issue.

@mthsmlk mthsmlk closed this as completed Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants