Using Ray With Drupal
You can use Ray with Drupal via this third party package:
https://www.drupal.org/project/ray_debugger/
Ray for Drupal is available as a Drupal module. With Ray for Drupal, Ray becomes available in Drupal theme files, Twig, and your theme or module JavaScript files.
The Ray debugger module is a third-party integration maintained by couloir007 and ericpugh. For more instructions and documentation refer to the Ray Debugger module on drupal.org.