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

Add IntelliJ plugin support for Bazel for IntelliJ #207

Open
wdfinch opened this issue Nov 14, 2023 · 2 comments
Open

Add IntelliJ plugin support for Bazel for IntelliJ #207

wdfinch opened this issue Nov 14, 2023 · 2 comments
Labels
enhancement New feature or request user

Comments

@wdfinch
Copy link

wdfinch commented Nov 14, 2023

I use Bazel as my build tool, specifically the Bazel for IntelliJ plugin. When I create a run configuration and run my application with bazel run with the mirrord plugin enabled, it runs the application normally and does not connect to my remote pod. Is it possible to use the bazel plugin with the mirrord plugin? If not, could this integration be added?

@wdfinch wdfinch added the enhancement New feature or request label Nov 14, 2023
@wdfinch wdfinch changed the title Add IntelliJ plugin support for Bazel Add IntelliJ plugin support for Bazel for IntelliJ Nov 14, 2023
@aviramha
Copy link
Member

Thanks for the suggestion. We can probably look into it in the future, meanwhile I can suggest maybe a good workaround would be to script your Bazel configuration to have a mirrord exec option, which would execute the program with mirrord.
I am not knowledgable with Bazel, but I know some users have done that.

@wdfinch
Copy link
Author

wdfinch commented Nov 15, 2023

Thanks for the reply. That's what I currently do. The run configuration is nice since I can run the app directly in debug mode. Right now, I run the script Bazel generates with the debug flag and attach a remote debugger to it, which is some extra work each time I want to debug the app.

@aviramha aviramha transferred this issue from metalbear-co/mirrord Dec 1, 2023
@eyalb181 eyalb181 added the user label Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request user
Projects
None yet
Development

No branches or pull requests

3 participants