Debug is now working