via Deployment Configuration (treating docker more or less like a VM) Run PHP via built-in Docker setup In general, there are two ways to run PHP from PhpStorm using Docker:Ģ. Git checkout part_2_setting-up-phpstorm-with-xdebug-for-local-development-on-dockerįurther, make sure to open /c/codebase/docker-php-tutorial as a project in PhpStorm. ![]() (unless you've already done that in part 1), checkout branch part_2_setting-up-phpstorm-with-xdebug-for-local-development-on-docker andĪs in part 1, I'm assuming your codebase lives at /c/codesbase: cd /c/codebase/ I'm gonna walk you through all the necessary changes,īut I'd still recommend to clone the corresponding git repository docker-php-tutorial Luckily, we already have a good understanding on how to create the container, although we'll need to make someĪdjustments to make everything work smoothly with PhpStorm. We will only need the php-cli container for this part.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |