changing debug properties to attributes