![]() Within 1-2 seconds you should see a list of green checks which indicate that everything is okay.URL to validation script: “ enter the URL of your DevKinsta website Local Path: “/Users/” same as in task 8 above ![]() Add a new path mapping that points to your DevKinsta/public folder:.Edit the path mappings of the new CLI interpreter.Image name: “ kinsta/devkinsta_fpm:0.1.3” Server: Docker (the one you created in task 1 above) In the dialog click the plus-icon and add From Docker, Vagrant, VM, WSL, Remote, ….In PHP click the “…” button to configure your CLI Interpreters.Ini_path="/etc/php/$version/fpm/conf.d/20-xdebug.ini"Įcho echo "= Installing $package =" apt-get -y install $packageĮcho "= Prepare $ini_path =" cat > $ini_path Docker click the plus-icon to add a new Server.Ĭonnect to Docker daemon with: “Docker for Mac” Update-alternatives -list php | while read bin do # Get a list of all present PHP versions and setup Xdebug for each of them. We use that script to install and configure the Xdebug module on the relevant Docker container (in the next step) #!/bin/bashĮcho "= Updating apm =" apt-get update Name the script setup-xdebug.sh.Įxample: On my machine, the script is “ /Users/philipp/DevKinsta/private/setup-xdebug.sh” Usually, that folder is in your user’s home directory. Place the following bash script in your DevKinsta/private folder. However, most steps are generic, and you do not need to change anything just copy-paste what’s in this guide. Note: When you see a emoji, you need to customize a value. So, here is my documentation and guide, which will save you a lot of time. I’ve struggled a bit with setting up Xdebug + DevKinsta in PhpStorm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |