ROS_DEBUG of ROS1 is equivalent to “What” of ROS2?
Please ask your question on answers.ros.org with the
ros2 tag and link to it from here.
ROS Discourse is for news and general interest discussions. ROS Answers provides a forum which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.