Recently, while setting up a FreeBSD laptop, I was configuring Phpactor as Language Server for PHP. The idea was to have it working in Vim through the YouCompleteMe plugin. While trying to start the Phpactor server, I received the following error (among others): Use of undefined constant SIGINT – assumed ‘SIGINT’ (this will throw an Error in a future version…
Month: June 2022
Vdebug: Xdebug not showing full array contents
Have you ever tried to debug some PHP code in Vim just to find that Xdebug won’t show the full array contents? Fortunately the DBGP protocol allows you to set features for debugging, such as the max length of data that the debugger returns. You can set these features in the Vim dictionary g:vdebug_features, and they will be sent to…