Add debug information when profiling