All main Android TV libraries are accessible. They are all listed within the settings screen.
You can check out the Android TV developers page for more info:
What debugging and analytics tools can I access?
If you’re using ADB, then you can utilize ADB debugging:
https://developer.android.com/studio/command-line/adb
Or you can use log cat:
How do I get my app on the device?
If you need more info on how to use ADB, go here:
How do I see the new app on the Home screen?
If you follow the requirements for Android TV home screen, then you’re good to go!
https://developer.android.com/training/tv/publishing/checklist#home-screen