vdebug | Multi-language DBGP debugger client for Vim ( PHP , Python | Text Editor library
kandi X-RAY | vdebug Summary
kandi X-RAY | vdebug Summary
Vdebug is a new, fast, powerful debugger client for Vim. It's multi-language, and has been tested with PHP, Python, Ruby, Perl, Tcl and NodeJS. It interfaces with any debugger that faithfully uses the DBGP protocol, such as Xdebug for PHP. There are step-by-step instructions for setting up debugging with all of the aforementioned languages in the Vim help file that comes with Vdebug. It builds on the experience gained through the legacy of the Xdebug Vim script originally created by Seung Woo Shin and extended by so many others, but it's a total rebuild to allow for a nicer interface and support of new features. It's written in Python, and has an object-oriented interface that is easy to extend and can even be used from the command-line. It even has unit tests covering some of the more critical parts of the code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse breakpoint
- Find a breakpoint by file and line number
- Remove a breakpoint
- Remove a breakpoint by id
- Opens the vim
- Sets the logger
- Return the option with the given name
- Instantiates the options instance
- Disables breakpoint
- Run user action
- View the current stack
- Start the server
- Determine the display name
- Start the vim
- Remove breakpoint
- Insert msg into the buffer
- Render the document
- Set a trace expression
- Run the breakpoint
- Run a context
- Read the value of the selected property
- Replace local path with local path
- Create local path with remote path
- Update the debugger
- Start debugging
- Run the context
vdebug Key Features
vdebug Examples and Code Snippets
let g:vdebug_options= {
\ "server": '172.17.0.1',
\ "path_maps": {"/srv": "/home/username/path/to/code"}
\}
php -dzend_extension=xdebug.so
docker exec --user=$(whoami) --interactive --tty samplesymfonyapp_console_1 /bin/zsh
Community Discussions
Trending Discussions on vdebug
QUESTION
I am on Ubuntu 20.04 using php 7.4.18 and apache and has its document root at /var/www/html
. This is my php --version
ANSWER
Answered 2021-May-24 at 14:05You're setting Xdebug 2 settings, but running Xdebug 3:
QUESTION
I want to use the a plugin for Vim and I use the famous plugin manager pathogen for this (https://github.com/tpope/vim-pathogen).
The plugin is vim-ps1
(https://github.com/PProvost/vim-ps1) and provides syntax coloring for Windows Powershell files whose file extension is *.ps1
.
In order to install my plugin, I just cloned it into the bundle directory. I'm on my office computer which runs Windows, so my vimfiles
directory (instead of the .vim
linux version) looks like this:
ANSWER
Answered 2019-May-28 at 16:43Look like you're running Vim 8, so you don't need Pathogen at all. Just move your plugins under ~/vimfiles/pack/bundle/start
and you're done. Read :help packages
for more info.
Also, in my experience setting set encoding=utf-8
as the very first line (not counting comments) in your config saves many troubles.
QUESTION
I am building an app with system level privileges and got it signed by the mobile manufacturer.
The signed apk generated is getting installed, but when I try to open the app from menu, it says Application is not installed.
Below is the manifest file of the app. Any suggestions are welcome
...ANSWER
Answered 2018-Feb-06 at 12:17if you have root access then try to put the app inside /system/priv-app
manually then reboot your device and try to open from menu.
QUESTION
I've just configured xdebug + vdebug + fpm + nginx + vim stack for server side php debugging, but faced "Not an editor command" error in Vim, while trying to set breakpoint with :Breakpoint.
The courious thing is that Vdebug seems up and :help Vdebug displays help info.
Any thoughts?
Thank you.
...ANSWER
Answered 2017-Sep-19 at 17:23If you use recent vim, you need to install vim-whatever-py2 (say: vim-nox-py2). For now vim is using python 3 and vdebug is using using version 2.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vdebug
Vim compiled with Python 3 support, tabs and signs (for Debian/Ubuntu this is provided in the vim-nox package)
A programming language that has a DBGP debugger, e.g. PHP, Python, Ruby, Perl, NodeJS, Tcl...
install manually: Clone or download a tarball of the plugin and move its content in your ~/.vim/ directory. You should call :helptags ~/.vim/doc to generate the necessary help tags afterwards.
use Pathogen: Clone this repository to your ~/.vim/bundle directory, run :execute pathogen#infect() and :call pathogen#helptags() afterwards.
use your favorite plugin manager: Put the respective instruction in your init file and update your plugins afterwards. For Vundle this would be Plugin 'vim-vdebug/vdebug' and :PluginInstall.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page