debug tools integration needs to be debugged!!!!