Add function to run with malloc debugging