You need to do remote debugging against the running container, but before that, you will need to run container in debug mode and map debug port 8787
docker run -it -p 8080:8080 -p 8787:8787 jboss/wildfly \ /opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 --debug