Perform the following actions to debug NodeJS application running on Kubernetes without needing to start locally.
command:
- /bin/sh
- '-c'
args:
- sleep 10; node --inspect index.js
kubectl -n namespace port-forward container-name 9229:9229
chrome://inspect