Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud code does not attaches the debugger mode. #3159

Open
sujkattimani opened this issue Aug 18, 2023 · 7 comments
Open

Cloud code does not attaches the debugger mode. #3159

sujkattimani opened this issue Aug 18, 2023 · 7 comments

Comments

@sujkattimani
Copy link

(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.

@etanshaul
Copy link
Contributor

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

@sujkattimani
Copy link
Author

  • 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

@etanshaul
Copy link
Contributor

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

@sujkattimani
Copy link
Author

sujkattimani commented Aug 24, 2023

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

@sujkattimani
Copy link
Author

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

@etanshaul
Copy link
Contributor

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

@sujkattimani
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants