Fix Issue 590: Debug Settings parameters setting is seriously bugged