Provides a way for the client to send debug back to the wrapper.
Listens for the following:
debug
toggle-dev-tools