Debug.print() is not one of the Arduino core library functions. If you are able to use it you must have some additional code that provides that function. That could be code in your sketch or a library you included. Unless you give us more information about this Debug.print() there's no way we can give a better answer to your question.