Created debugging output after shooting a ray with 'd'.