Added debug manager
First step in function definition