By editor, 24 July, 2017 Install Xdebug with NginX Server Tags Debug IDE Install Xdebug php sudo apt install php-xdebug Configure Xdebug Example: sudo gedit /etc/php/5.6/mods-available/xdebug.ini
By editor, 29 June, 2017 Drupal coding Standard and Best Practice Tags Drupal 8 Code Debug Module Create a Drupal 8 module is a good idea, but develop as Drupal is BEST. The famous tools PhpCS and PhpCBF allow you to check and correct (some) drupal coding standards and best practice errors.
By editor, 7 December, 2016 SimpleTest : Running PHPUnit tests from command line Tags Drupal 8 Code Debug Testing Initialisation - Create link to the script (Optional). ln -s core/scripts/run-tests.sh ~/bin Run Test and open rest in web browser. php core/scripts/run-tests.sh --browser --class "Drupal\YOUR_MODULE\Tests\JustTest"
By editor, 24 January, 2016 XDebug - Install and configure with NetBeans Tags Server Debug Step 1. Install Xdebug If not already ainstalled, Install Xdebug (I'ts already on the package WAML, LAMP, MAMP) In Linux Debian/Ubuntu/Mint # sudo apt-get install php5-xdebug
By editor, 18 January, 2016 Debug and Display errors. PHP Apache Mysql Xdebug Tags Server Shell Debug Step 1. Check apache error log (use tail to show in real time) # tail -f /var/log/apache2/error.log Step 2 : Check MySQL database connection using mysql -uusername -ppassword