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

Cannot debug Multi config in different namespaces #3089

Closed JJRdec closed 1 year ago

JJRdec commented 1 year ago

Context

Expected Behavior

Be able to debug both applications in different namespaces.

Actual Behavior

Only one application can be debugged.

We can see only one app debug session starts for core-app and not identity-app

CC-kube-debugpng

Debugging will work if use skaffold setup like this example . But this is not an option for us as we need microservice (projects repos) to be independent.

Here it is working with my use case 184379224-5ea4638e-f3d0-4717-bd0f-bba717181c46

Additional Information

Reproduce

  1. Create a project similar to multi config.
  2. Have sub projects deploy into separate namespaces.
  3. Start debug session

PS: This is most likely a skaffold issue but it is affecting Cloud Code features. See issue here

ivanporty commented 1 year ago

Thanks @JJRdec! Most likely this is related to skaffold, and thanks for filing an issue in skaffold repo as well. We'll investigate more.

ivanporty commented 1 year ago

Closing as this use case is not a planned feature for Cloud Code for now.