cloud-code-intellij icon indicating copy to clipboard operation
cloud-code-intellij copied to clipboard

Cloud code does not attaches the debugger mode.

Open sujkattimani opened this issue 2 years ago • 7 comments

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

  • Cloud Code for IntelliJ version: 23.8.1-api-version-222
  • Google Cloud SDK version: 411.0.0
  • OS: Mac OS X 13.4.1

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.

sujkattimani avatar Aug 18 '23 13:08 sujkattimani

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

  • language (java, python, etc.)
  • IDE and version (i.e. Pycharm 2023.2)
  • can you share your skaffold.yaml by any chance (redacting sensitive info)?

Thanks

etanshaul avatar Aug 18 '23 16:08 etanshaul

  • Language : Kotlin Java
  • IDE version : IntelliJ IDEA 2023.2 (Ultimate Edition)
  • Actually I can not able to share skaffold.yaml with you, because security breach

sujkattimani avatar Aug 22 '23 07:08 sujkattimani

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

etanshaul avatar Aug 24 '23 19:08 etanshaul

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

sujkattimani avatar Aug 24 '23 19:08 sujkattimani

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

sujkattimani avatar Aug 24 '23 19:08 sujkattimani

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

etanshaul avatar Aug 24 '23 19:08 etanshaul

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

sujkattimani avatar Aug 25 '23 03:08 sujkattimani