PHP
PhpStorm disable auto-save
How to disable auto-save:
- Go to File > Settings (Ctrl+Alt+S).
- Go to Appearance & Behavior > System Settings.
- unchecked: the both fields
- Save files on frame deactivation
- Save files automatically if application is idle for x sec.
- Go to Editor > General > Editor Tabs
- Put a checkmark on
- "Mark modified files with asterisk"
Click Apply > OK.
That's it.
Show all PHP errors
The quickest way to display all php errors and warnings is to add these lines to your PHP code file:
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);