GICT knowledge base
How to Enable Debug Mode in Plesk Server?
Published
It is possible to enable debug mode on your Plesk server via Plesk GUI and via SSH, for this, please follow the below steps.
1) Login to the Plesk panel using admin user.
2) Go to ‘Extension’.
3) Search for ‘Panel.ini Editor’ extension and install it there by clicking ‘Install’ button.

4) After the installation, go to Plesk >> Extensions >> My Extensions >> Panel.ini Editor >> Go to Extension >> Editor.

5) Edit the code in that file as per the below.
[debug]
; Enable debug mode (do not use in the production environment)
enabled = on
[log]
; Log messages verbosity level (from 0 to 7)
; 0 – only critical errors, 7 – all including debug messages, default – 3
filter.priority = 7
; Enable logging of SQL queries
;show.sql_query = on
; Enable logging of external utilities calls
show.util_exec = on
; Enable logging of stdin and stdout for external utilities calls (do not use in production environment)
;show.util_exec_io = on
; Enable logging of APSC activities
;apsc.enabled = on
6) Finally, click on the “Save” button.
You can also do this via command line.
1) Login to the server via SSH.
2) Take a copy of the sample configuration.
# cp /usr/local/psa/admin/conf/panel.ini.sample /usr/local/psa/admin/conf/panel.ini
3) To enable the debug mode logging, remove the semicolon at the beginning of the file in panel.ini.
4) Log entries are logged at /usr/local/psa/admin/logs/panel.log
If you need any further help, please do reach our support department.
Related guides
cPanel and Plesk notice: Awstats,. Webalizer and Analog stats are being removed
Important Update: cPanel and Plesk Phasing Out Legacy Statistics Tools If you regularly check your website traffic through your hosting control panel, we have an...
PleskUnderstanding the db_owner Role in Plesk Windows Hosting
If you have ever managed a database on a Windows-based hosting plan using Plesk, you might have noticed that your database user doesn’t always start with "full"...
PleskUsing Nmcli to Set a Static IP (Replacing DHCP) on AlmaLinux (RHEL Based) – Recommended for control panel systems
If you have been managing servers for a while, you probably remember the days when control panels like cPanel and Plesk absolutely hated NetworkManager.
PleskEmail Management in Plesk
In this article we are going to discuss about Email management in Plesk control panel.
