More warnings as errors settings.
Use the run command.
Make a bound debug property on the view model.

Wire the debug flag of the run command to this property and remove all
the event handlers.