How to exec debug or run with docker remote interpreter
Hi,
I set docker remote interpreter successfully.
I can see my containers running in Service tool window.
However I cant hit run or debug button to exec one specific file (The container was running)
Also, after I use remote interpreter I found the run rspec option missing in my menu. I check the gems in remote gems there is no rspec. However, I can run rspec in container terminal.
How can I set the config correctly?
Please sign in to leave a comment.
Hello! Is there any possibility to provide a minimal project sample for reproduce or try using our sample (https://github.com/JetBrains/sample_rails_app) and tutorial (https://www.jetbrains.com/help/ruby/using-docker-compose-as-a-remote-interpreter.html)?
Hi,
Just share my experience of using the docker remote interpreter.
The docker remote interpreter will use the helper Docker images and containers for testing and debugging, not we built container or container image. You can see them in the services tab, and the name prefix is jetbrains_ruby_helpers.
The document link: https://www.jetbrains.com/help/ruby/using-docker-as-a-remote-interpreter.html#set_docker_remote_interpreter
If we update the Gemfile and/or Gemfile.lock, we also have to rebuild the helper Docker images: