I don't find debugging in docker containers difficult, but maybe that's only because I've been doing selfhosted stuff in docker for a few years. Usually exec'ing into a bash she'll inside the container satisfies my need to easily run commands inside the container.
What about debugging is difficult for you when docker containers are involved?