HPCC-10744 Treat debug option values as compile time constants

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #5320 from ghalliday/issue10744

HPCC-10744 Treat debug option values as compile time constants

Reviewed-By: Jamie Noss <james.noss@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>