ROS2: DebugModuleNotFoundError: No module named 'rclpy._rclpy'

the name of the cmake variable is CMAKE_BUILD_TYPE (with only underscores) (https://cmake.org/cmake/help/v3.5/variable/CMAKE_BUILD_TYPE.html). Right now it is trying to build in “None” that’s why the libraries dont have the right suffix