[powerdebug V2: 01/14] encapsulate the options code