![]() ![]() So there is some issue when the CodeIgniter framework gets run and doesn't debug into the app/Controllers/Home.php file even though the page loads successfully. But if I set a breakpoint in the server/public/index.php I can step through successfully with the debugger. I also tried all of these files as entry points when it auto-detects the paths:Īssuming I use Manually choose local file or project, I set a breakpoint in the server/app/Controllers/Home.php controller (default CodeIgniter index method that returns the welcome message), the breakpoint never gets hit. When I try to map the incoming connection I would prefer to use Import mappings from deployment as it auto-detects the deployment but not sure what the deployment root should be set to: "./files/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d" "/var/run/docker.sock:/tmp/docker.sock:ro" 'Compose: docker' has been deployed successfully. "C:\Program Files\Docker\Docker\resources\bin\docker-compose.exe" -f D:\Projects\my-project\devops\docker\docker-compose.yml up -d proxy database opp_web ![]() I was able to successfully create and run a docker deployment in PhpStorm: Deploying 'Compose: docker'. I have Docker installed on my Linux host and raised a container with php-fpm and Xdebug. How do you map an incoming xdebug connection when your directory structure is split between a public folder which is the entry point for CodeIgniter and the rest of the CodeIgniter framework code in the server folder? It looks like this: I get an incoming connection dialog but not sure how to map it properly. I'm not sure how to connect Xdebug to the container given my directory structure. I created a new CodeIgniter project and need to setup debugging with Xdebug against a container running in Docker Desktop. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |