wgdb: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/wgdb - from package: whitedb

You may install the required package with command apt-get install {package}
Error in other languages:
wgdb: bevel nie gevind nie
wgdb: comandă negăsită
wgdb: comando não encontrado
wgdb: commande introuvable
wgdb: command not found
wgdb: käsku ei ole
wgdb: không tìm thấy lệnh
wgdb: komanda nerasta
wgdb: Kommando nicht gefunden.
wgdb: kommandot finns inte
wgdb: komut yok
wgdb: nie znaleziono polecenia
wgdb: níor aimsíodh an t-ordú
wgdb: no se encontró la orden
wgdb: no s'ha trobat l'ordre
wgdb: opdracht niet gevonden
wgdb: parancs nem található
wgdb: perintah tidak ditemukan
wgdb: príkaz nenájdený
wgdb: příkaz nenalezen
wgdb: команда не найдена
wgdb: командата не е открита
wgdb: 命令找不到
wgdb: コマンドが見つかりません