I have a working VM based on a vagrant box.
It was created with help of a puphpet.
Now I need to add xdebug to the VM.
What is the best way to install xdebug?
Thank you very much!
How to add xdebug to vagrant vm if it was installed using puphpet?
48 Views Asked by Woleks At
2
There are 2 best solutions below
0
Juan Treminio
On
Xdebug is a first-class citizen in PuPHPet. Just add the following:
xdebug:
install: 1
settings:
xdebug.default_enable: '1'
xdebug.remote_autostart: '0'
xdebug.remote_connect_back: '1'
xdebug.remote_enable: '1'
xdebug.remote_handler: dbgp
xdebug.remote_port: '9000'
and vagrant provision to apply.
Related Questions in VAGRANT
- Using Vagrant provisioning for Shell Scripts
- Django application hosted in vagrant not available at localhost
- Hash sum mismatch when using vagrant up and apt-get install on MacOS
- Error when molecule through vagrant start VM in vbox (Windows, WSL2)
- Vagarant vm installation issue
- Vagrant can't use default network of libvirt. Vagrant + libvirt, Linux. no network with matching name 'default' (Libvirt::Error)
- Unable to access a Webapp on Tomcat in Vagrant box
- How do I add a C file from my computer to my Github clone repository so i can send it to the actual repository on Github?
- Vagrant transfer file from Guest VM to another Guest VM
- Can't connect to a pod running on different node with k3s and virtualbox
- symlink protocol error when setting up storage:link on vagrant homestead
- PhpStorm not working with Xdebug 3.3 running in Vagrant box using nginx and PHP 8.3
- Laravel homestead Can't Preform Vagrant Up Error Constraints: >= 13.0.0, < 14.0.0
- HTML and Vagrant
- Error: [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
Related Questions in VIRTUAL-MACHINE
- My server TCP doesn't receive messages from the client in C
- How do I fix VERR_INVALID_HANDLE (0X80004005) Error in VirtualBox?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- net.show command only shows my own ip not other devices
- Azure VM RDP doesn't require 'Virtual Machine Admin/User Login' roles despite what documentation says
- How to create a VM with proxmox API?
- Broken Windows Server, after crash of VM - CBS_E_SOURCE_MISSING
- Trouble Connecting USB Wireless Adapter via Bridged Adapter in VirtualBox for Kali Linux
- Using Maven to feed minikube on a VM
- New to llvm - trying to make the files but getting collect2: fatal error
- virStorageFileBackendFileRead Failed to open file '/dev/...': Permission denied
- How to run kubernetes on a virtual windows server 2019?
- Is it possible to connect to a Google Cloud VM using IPv6?
- Provide access to Azure Storage Account for all VMs in resource group
- In a Managed Application Azure Marketplace deployment template, if one of the resources is a VM, how can the vendor access the vm?
Related Questions in XDEBUG
- Xdebug 3 has no effect on YAF framework breakpoints
- browser doesn't request to vscode xdebug server
- How to temporary disable Xdebug for cache/container building code, but that it remains enabled for the rest of the execution?
- Why Xdebug function xdebug_get_code_coverage() return detail coverage information only once?
- How do I set up Xdebug in PhpStorm with Laravel Sail Docker on WSL2 without Docker Desktop
- VSCode Remote PHP Debugging, pathMapping not accepting ssh://
- PhpStorm Xdebug hangs with API platform routes
- Warning: XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set
- Debugging Ajax/XmlHttpRequests using Xdebug on Sublime
- PhpStorm | PHPUnit | Feature test | Xdebug | Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
- Docker Laravel Container Throwing [pid X] AH00052: child pid XXXX exit signal Segmentation fault (11) when PhpStorm Xdebug Listening is Turned On
- PhpStorm Xdebug stuck on past breakpoint
- Why running pecl I got /tmp/xdebug.log could not be opened error
- Problems using Xdebug
- In xdebug Step Over, Step Into and Step Out buttons are disabled
Related Questions in DEVELOPER-TOOLS
- In Chrome Developer tool which one is accurate: Responsive or Dimension:[Number]
- where can I find all keys saved in the local storage?
- Weird behaviour of Google Chrome's responsive website checker
- How to use TikTok API without a website/privacy policy url/terms of service url?
- How can i make gauge highchart chart responsive
- Looking for a tool to monitor process exceptions with stack traces in real-time
- how to copy used and unused code in Chrome inspect coverage with just one click?
- Restrict the sharepoint access of sharepoint list member
- Force resources and services cache for offline development
- Safari developer tools with simulator always shows "null" as HTTP method in place of GET, POST, PUT, etc
- Show Android version always on screen on android device or emulator
- Cross project bucket access from transcoder api
- How to get the console output of a live web session in firefox without keeping the tab open?
- Determining Proxy Used by Firefox Extension
- Apple developer Renew membership button is not showing in India country
Related Questions in PUPHPET
- where is the PuPHPet site gone?
- Puphpet + Vagrant + AWS returning either default Puphpet page or Index Of page
- Vagrant not work and not respond error message
- PuPHPet Error: install php7.0-mysqlnd' returned 100
- PuPHPet - PHP Error after editing file
- Vagrant - Failed to mount folders in Linux Guest using Puphpet and SMB mounting
- RabbitMQ receives message but it goes nowhere
- PuPHPet build error - invalid option: --manifestdir
- How to add xdebug to vagrant vm if it was installed using puphpet?
- Reconfigure Puphpet for PHP 5.5 installation or is there an alternative to it with PHP 5.5 support?
- Puphpet/Vagrant: Unable to access LAMP VM with IP address
- Sharing config file between puphpet and puppet
- Vagrant & Puppet - error when using puphpet to import sql into mysql database
- Read-only Shared Folder for Vagrant
- NFS time out (mount) with vagrant & puphet
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you run php 7 on your server then you need to add
to config.yml in your puphpet.
Then you need:
and