added path debugging