Replies: 1 comment 1 reply
-
Could I get some help? is it a bug? or am I using the configuration in a wrong way as from VSCode I was able to debug nodejs app inside k8s |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
i've deployed very simple nodejs/express app to k8s which is working. im able to see the output in the browser.
I've exposed port
9229
in the docker file and my app start with"start": "node --inspect index.js"
Im using the k8s plugin and from workloads->pods->choose the required pod and use debug(attach)
choose the pod -> nodejs and got the following logs:
in addition, I got a pop-up with the message:
A service is available on port 10000
I've created the following launch.json
when click on the debug button I got error:
Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ECONNREFUSED 127.0.0.1:9229).
am I missing something? is it a bug?Beta Was this translation helpful? Give feedback.
All reactions