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
Vladimir
shared this idea
It's enough to call the following command:
plesk conf panel.ini
--AA