limit debugging memory usage by total size, not just the total number of requests logged

Description

Currently you can only specify the maximum number of requests for debugging logging, but the so far unaddressed issues with debugging in 5.3 (all scopes being saved in the debugging logs) means enabling debugging can quickly lead to Lucee running out of memory.

To avoid this, it would be sensible to be able to set a total memory limit for debugging requests, i.e. only allow up to 100mb to be used for logging debugging logs

Environment

None

Assignee

Unassigned

Reporter

Zac Spitzer

Priority

Critical

Labels

Fix versions

None

Affects versions

Configure