Download xdebug docker vscode7/30/2023 ![]() Maybe VSCode needs some more configuration. But when check to app docker image Xdebug is working properly. I think VSCode can't connect to remote Xdebug with 9000 port. Dockerfiles We'll be using PHP with Nginx, just like in our previous article. RUN sed -i "s|\|\\nhost = 172.18.250.57\nport =1435\nclient charset=UTF-8\ntds version = 8.0|g" /etc/freetds/nf Two impostant things here : The port must match the one defined in xdebug.ini pathMappings must associate the path of your app on Docker and the path of your VSCode project (do not use an absolute or relative path. In our case, we will be using Visual Studio Code with PHP Tools. RUN docker-php-ext-configure pdo_dblib -with-libdir=/lib/x86_64-linux-gnu RUN apt-get update
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |