Development

How to Disable Hardware Acceleration in Visual Studio Code

For some reason you may need to disable Visual Studio Code’s hardware acceleration. For example in Ubuntu it’s slow. !Backup! Before you do anything backup the settings. CTRL+SHIFT+P and type runtime you should see this kind of option. https://code.visualstudio.com/updates/v1_40 … or you can edit $HOME/.vscode/argv.json file. (Linux) that line is commented. When I uncommented it

How to Disable Hardware Acceleration in Visual Studio Code Read More »

Xdebug Var Dump Settings

How to Prevent xDebug from Truncating var_dump() Output

xdebug is an awesome debugging extension and it has saved me so much time when developing and also when troubleshooting php scripts and WordPress plugins. When you’re working with xdebug in your PHP development environment and using functions like var_dump() to output some debugging data (logging is better but sometimes you have to do it),

How to Prevent xDebug from Truncating var_dump() Output Read More »