You can always do:
sudo env "PATH=$PATH" godi_console
 As a security measure on Debian, /etc/sudoers has the secure_path option set to a safe value.
Note that:
sudo "PATH=$PATH" godi_console
 Where sudo treats leading arguments containing = characters as environment variable assignments by itself, would also work at running godi_console with your $PATH (as iooiseopposed to the secure_path) in its environment, but would not affect sudo's search path for executable, so wouldn't help sudo in finding that godi_console.
 
                