How to activate "debug activated by client" in store.php

In the store.php I find the lines

// debug activated by client
if ($options['debug'] == 1) {
	$DEBUG = true;
}

Where is the switch to get this property into the options array that is sent when saving?