gitlab-runner exec debug generated container

I've tried building a local container to test and my tests passed as usual, but when the runner attempts to run the tests some of my tests fails.

Is there a way I can test the generated container by gitlab-runner? it seems when the gitlab-runner exec finishes the job it just performs cleanup and destroy the container.

Edited by Ricardo Pascua Jr