I’ve been using various debuggers for Vim. But when tried Vdeug, I realized Vdebug has almost all the possible features for a Vim Debugger.
Vdebug, technically, said to support languages that have a debugging engine that uses the DBGP protocol. This plugin has been designed with four languages in mind, PHP, Python, Ruby and Perl.
Vdebug: A powerful, fast, multi-language debugger for Vim
Vim Vdebug Debugger Stack
Vim Vdebug Debugger Watch
Vim Vdebug Debugger Status
Installing Vdebug Plugin
Clone the Vdebug Github repository in your local bundle.
1 2 |
|
PHP5-Xdebug Configuration
You also need to install Xdebug PHP extension using sudo apt-get install php5-xdebug
.
Now configure xdebug initialization.
1 2 3 4 5 6 7 8 9 10 |
|
Xdebug Helper Google Chrome Extension
Installl Xdebug Helper Chrome extension to easily start a debugging session via browser.
https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc