Tuesday, 16 April 2019

Debugging WordPress with Local by Flywheel, (neo)vim, and xdebug


Introduction Local by Flywheel is a popular tool for getting quick and reliable WordPress installations running on your computer. One of its lesser-known features is the inclusion of xdebug support. xdebug is a PHP extension that allows for real-time debugging of PHP code. Today, we’re going to go over how to get both of these working together within vim to provide a powerful interface that allows for some successful debugging of WordPress.
Prerequisites
Firstly, this tutorial is intended for users of vim or neovim. If you aren’t familiar with how to use vi-like editors, but want to learn, I would recommend running vimtutor in your command line and learning how to move and work in vim before continuing with this post.
Next, you’ll need Local by Flywheel. You can download it here. If you haven’t set up a site before with Local, it is pretty straightforward. You can find a guide for getting started on Flywheel’s blog.
Setup
vim
For vim or neovim, henceforth referred to simply as “vim” (with distinctions for neovim if necessary), you will need the Vdebug plugin. Installation instructions are included on the plugin’s page. I use vim-plug to
Source: https://managewp.org/articles/18538/debugging-wordpress-with-local-by-flywheel-neo-vim-and-xdebug



source https://williechiu40.wordpress.com/2019/04/16/debugging-wordpress-with-local-by-flywheel-neovim-and-xdebug/

2 comments:

  1. Find here Electric Screwdriver,Kilews torque driver, Electrical Screwdriver manufacturers, suppliers & exporters in India. Kilews Electric Screwdrivers indiais regarded as the best quality electric screwdriver in India and has a very high reputation in the market.

    ReplyDelete
  2. Hello, this weekend is good for me, since this time i am reading this enormous informative article here at my home. Emergency Electricians

    ReplyDelete