build: Only enable the debug plugin when built from git
build: Only enable the debug plugin when built from git

As I'm going to add more involded debug mechanisms (say print the
backtrace on warnings or call gdb on crashes, we really want that plugin
to be enabled for git builds only.

media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer