-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Can skaffold debug
support npm run-scripts
#2044
Comments
The
So trying to emulate An alternative is that node >= 8 supports a |
So it turns out we cannot use
|
We can use skaffold/examples/nodejs/backend/package.json Lines 6 to 8 in 14436d7
|
Follow-up in #2170. |
skaffold debug
supports configuring NodeJS applications for debugging providing their the container entrypoint or command isnode
ornodemon
. But some apps, like our ownexamples/nodejs
usenpm run xxx
to run a script: (skaffold/examples/nodejs/backend/Dockerfile
Line 5 in 11f8a1b
which itself executes
nodemon
:skaffold/examples/nodejs/backend/package.json
Line 7 in 11f8a1b
Perhaps
skaffold debug
for NodeJS should parse and retrieve the script line.The text was updated successfully, but these errors were encountered: