Debug your PHP code on Remote Linux server using PHPStorm and xDebug with its port forwarding through SSH

One e-commerce site had a very strange issue, it stop working as expected after cache cleaning. This issue appeared only on production server and couldn’t be reproduced on local machine. So there wasn’t another solution how debug problem directly on the server. It’s really important to closely check all configuration because one little mistake and... » read more

Linux: Create shortcut icon on Desktop and in Menu

We will add shortcut icon for Navicat. Run next commands: $ cd /usr/share/applications $ sudo touch navicat.desktop $ sudo vim navicat.desktop [Desktop Entry] Name=Navicat Comment=Navicat Premium Exec=/home/popov/Soft/navicat121_premium_en_x64/start_navicat Icon=/home/popov/Soft/navicat121_premium_en_x64/navicat.ico Terminal=false StartupNotify=true Type=Application Categories=Development; Check you shortcut with desktop-file-validate. Fix errors if they are presented. $ desktop-file-validate navicat.desktop Create shortcut icon on Desktop and in Menu $... » read more