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.
Thank you for your input! We will consider this functionality in upcoming releases, if it will be popular.
Everyone, please continue voting for this feature if you consider it important.