Skip to content
Browse files

Updated README

  • Loading branch information...
1 parent 097f149 commit d1768301aa21d449aa610405dbe0534a2c29b2b4 Jon Cairns committed May 11, 2012
Showing with 24 additions and 11 deletions.
  1. +24 −11
@@ -3,9 +3,22 @@
This vim plugin provides a debugger interface to DBGp protocol, and therefore
Xdebug (only tested on Xdebug 2).
-This is a fork of [this plugin](, which
+This is a fork of [this plugin](,
+which in itself is a fork of [this plugin](, which
is a bit buggy, limited is many ways and not maintained anymore.
+# Changes
+* Open the whole debugger session in a new tab, so that your carefully configured windows don't get messed up. When you end the session the whole tab closes.
+* The watch window now clears each time a new request is made, so that it doesn't get confusing.
+* Better code folding in the watch window
+* The default depth of data to retrieve is now configurable, so that you can look deeper into arrays/objects
+* Hit `<CR>` (return key) on an array or object in the watch window, and a new request is made to view deeper into the tree. You can go as deep as possible. Then hit `<F11>` to show the whole context again.
+* A new "command" window shows the list of commands made to the debugger, and you can hit `<CR>` on any of them to re-run it. You can also type in commands and `<CR>` will execute them.
+* When the debugger session ends, no longer do you get an ugly exception. Instead, you get a nice message telling you that it's closed.
+* Windows are better arranged (I think).
+* Toggle variable for debug mode.
# Installation
@@ -26,19 +39,26 @@ and `debugger.vim`.
Clone this repository in your `~/.vim/bundle` directory (and yeah, you're done).
+## Using vundle
+Add this to your `~/.vimrc` file:
+Bundle 'joonty/vim-xdebug.git'
# Quick guide
1. setup Xdebug - or other DBGp enabled server - correctly (with proper remote
debug option)
2. press `F5` to make Vim wait for a debugging connection and browse your PHP
- file (you have five seconds to do it once you press `F5`).
+ file (it will wait for 30 seconds, to give you plenty of time to run your program).
All the currently opened windows will be closed and debugging interface
will appear.
3. Once in debugging mode, the following mappings are available:
- * `<F1>`: resizing windows
+ * `<F1>`: set breakpoint
* `<F2>`: step into
* `<F3>`: step over
* `<F4>`: step out
@@ -49,16 +69,9 @@ Clone this repository in your `~/.vim/bundle` directory (and yeah, you're done).
4. To stop debugging, press `<F6>`
-## Notes
- * You'll see some python's exception message. They happen when connection is
- closed, because Xdebug doesn't send message for last file/line information.
- * This plugin doesn't implement all DBGP's features, just the very essential
- parts.
# Contributors
+ * Jon Cairns <jon AT>
* Ludovic Pelle <ludovic_pelle AT>
* [Kévin Gomez]( <contact AT>
* Sam Ghods <sam AT>

0 comments on commit d176830

Please sign in to comment.
Something went wrong with that request. Please try again.