GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Cloud code does not attaches the debugger mode. #3159

Open sujkattimani opened 10 months ago

sujkattimani commented 10 months ago

(Please ensure you are running the latest version of Cloud Code for IntelliJ with Help > Check for Updates)

What did you do? I am trying to deploy service in debug mode but debugger mode does not attaches.

What did you expect to see? Debugger mode session should be attached.

What did you see instead? Not attaching debug mode.

(screenshots are helpful) Feel free to deviate from this template as needed, especially if you are submitting a feature request.

etanshaul commented 10 months ago

hi @sujkattimani could you please add some more details. some that would help;

Thanks

sujkattimani commented 10 months ago
etanshaul commented 10 months ago

hi @sujkattimani sorry for the delay. Are you trying to debug for Cloud Run or Kubernetes? If Kubernetes, are you debugging on minikube?

sujkattimani commented 10 months ago

On kubernets(ephemerally) I am trying to debug. Debugger session should get attached with 5005 port no which is not happening.

sujkattimani commented 10 months ago

Even I tried to uninstall Cloud code, IntelliJ, still no luck

etanshaul commented 10 months ago

are there any logs you can share from the session when you try to attach the debugger?

sujkattimani commented 10 months ago

If you see in this doc, they are included steps for the debug process. And there is one more session get attaches with port no 5005, which is not coming in my intellij. Is there any issue with Intellij or with cloud code or kubernets? https://cloud.google.com/code/docs/intellij/debug