GoogleCloudPlatform / cloud-code-intellij

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

Cloud code does not attaches the debugger mode. #3159

Open sujkattimani opened 1 year ago

sujkattimani commented 1 year 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 1 year ago

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

Thanks

sujkattimani commented 1 year ago
etanshaul commented 1 year 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 1 year ago

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

sujkattimani commented 1 year ago

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

etanshaul commented 1 year ago

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

sujkattimani commented 1 year 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