Rails Byebug Did Not Stop Application
To enable debugger mode:
docker-compose run --service-ports web
See this blog post
When using docker-compose
in combination with byebug
this needs to be added to make it work properly. Found in this blog post
Add this to docker-compose.yml
web:
...
stdin_open: true
tty: true
Then run docker-compose in deamonized mode and attach to the web container with docker:
docker-compose up -d
docker attach myappname_web_1