Today I Learned

Using byebug inside of Docker with docker-compose

When you need to use byebug to interactively debug your Ruby app while it is running inside of a Docker container you can use the following docker-compose command when starting your app.

docker-compose run --service-ports <name-of-service>