Godot allows you to debug on-device. For example you can run your game on an Android device and debug it. For more info see here.