I
I
IvanN7772017-08-28 20:33:31
ruby
IvanN777, 2017-08-28 20:33:31

Docker byebug if life after death?

I prescribe in docker-compose
stdin_open: true
tty: true I
execute
docker attach rails || id_docker
Yes, in the place where byebug is installed, it displays a section of code, but it does not stop and I cannot run the code either. I can only see where that breakpoint was.
Which is almost useless.
How can I debug under Docker.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IvanN777, 2017-08-28
@IvanN777

It seems to help, I hate these newfangled things
docker exec -it rails bash
blog.honeybadger.io/remote-debugging-with-byebug-r...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question