Open
Description
In previous versions of submenu (that were part of the cmd2 module) a submenu would use its parent's "debug" variable. Such that when I ran "set debug true" and then encountered an error in a subsequent command within a submenu, the "debug" flag was respected and I would get a stack trace. The version currently in the fix_bugs branch, doesn't exhibit that behavior. Instead, I need to enter the subcommand by calling it with no arguments. Then, I can "set debug true". And then I get the expected (legacy) behavior.