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

Support .NET in Rider #2903

Open wojtek-viirtue opened 3 years ago

wojtek-viirtue commented 3 years ago

Are there plans/is it possible to debug a .NET application? I'm able to do so in VSCODE using the Cloud Code plugin by attaching to a pod's container. Wondering if it's possible to do in rider as well. Per the following...it doesn't look like its possible: https://cloud.google.com/code/docs/intellij/kubernetes-debugging

None of the breakpoints seem to hit even after configuring a debugging profile and mapping the source dirs.

Additional Information

matthewmichihara commented 3 years ago

Hi @wojtek-viirtue, you're right that we don't currently offer debug support for .NET applications in Rider. It is something that is on our radar though and we do hope to one day support this use-case but I don't have a timeline for when.

etanshaul commented 3 years ago

for anyone else that is interested in this feature, please upvote this FR to help with our prioritization. thanks!

wojtek-viirtue commented 3 years ago

Thank you @matthewmichihara and @etanshaul. I cross posted this request here: https://youtrack.jetbrains.com/issue/RIDER-27214 Seems the ask has been there for a while within the core product. It would be awesome if Cloud Code got it across the finish line. Appreciate all your work!

etanshaul commented 3 years ago

@wojtek-viirtue cool! Cloud Code indeed looks like the right place for that kind of feature. We'll keep this issue updated with any progress.

fsladkey commented 3 years ago

Hey folks!

We're still looking into the best way to integrate this feature into Cloud Code, but in the meantime I wrote up some instructions on how to set up remote debugging manually in Rider. Hopefully it's helpful as a workaround for the time being!

https://github.com/GoogleCloudPlatform/cloud-code-intellij/wiki/Manual-set-up-for-remote-debugging-in-Rider

itaischw commented 3 years ago

any new @fsladkey ?

etanshaul commented 3 years ago

hey @itaischw , @fsladkey is now on another team.

We haven't taken this any further than the manual steps listed above. We are still checking to see where automating .NET debugging fits into our roadmap and so I cannot make any promises. Were you able to give the manual steps a try? Did they work for you? Thanks!

itaischw commented 3 years ago

@etanshaul I did try the workaround and it does work, however, that means on each pod initialization you need to upload the debugging tools which is ~70MB. it makes things slow. I do try to find a workaround to load the pod with the Rider debugging tools, but it's not a long-run solution. I would really like to get this debugging in Rider as all other IDEs have it. Let me know if there is something I can do to help contribute or promote the support for it. It's very important to me and my company.