Enable/disable debug in Plesk via CLI
The suggestion is to implement CLI utilities to enable/disable Plesk debug:
plesk debug -enable
enabled = on
filter.priority = 7
show.utilexec = on
show.utilexec_io = on
plesk debug -enable --sql
The same as previous + show.sql_query = on
plesk debug -disable
Now it is necessary to remember panel.ini path (/usr/local/psa/admin/conf/), copy panel.ini.sample, then edit it manually every time. And the same procedure to disable it.
33
votes
![](https://secure.gravatar.com/avatar/e47e07a47afb1e9de8f5e2ee37e2f53c?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
It's enough to call the following command:
plesk conf panel.ini
--AA