Skip to content

Debug PHP project hosted on Vagrant VM with VSCode (Visual Studio Code)

Notifications You must be signed in to change notification settings

carlosleonam/vagrant-vscode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

vagrant-vscode

Debug PHP project hosted on Vagrant VM with VSCode (Visual Studio Code)

I'm using this environment:

  • Vagrant Hosted on Windows 7 (called "Host")
  • PHP 7.1 install on Host
  • VM based on Ubuntu 14.04

Testing Xdebug on VM

Run this command (pay attention to CamelCase)

php -i | grep Xdebug

If result like this:

with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans

It's OK, Xdebug is enabled on your VM.

Otherwise, install it follow any of instructions links:

About

Debug PHP project hosted on Vagrant VM with VSCode (Visual Studio Code)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published