RF: get DEBUG_PRINT from environment

From Yarik's suggestion.