Add debug with log