use data collector only if kernel.debug is on
Merge pull request #25 from M6Web/feature/data-collector-only-with-kernel-debug

use data collector only if kernel.debug is on