Add debug sample and start working on event