Maybe you want to try Whonix?
It is a Debian VM (actually two Debian VMs) that sends all their traffic through the Tor network.
But you would need to work in the Whonix Workstation VM if you want your traffic to go through Tor because it will not magically direct the traffic from your host through Tor.