How To Debug PHP Container With Xdebug And PhpStorm And Dockerfile. I will setup a very simple PHP page and debug it using xdebug and Phpstorm. I can set a breakpoint, start listening for connections in Php storm. I then reload page and see results from index.php file. I use "glyglyglyph" and "glyphglyphph" to set breakpoint and listen for connections. I am a full stack web developer, tech lead, project manager by Igor Fomin.