The Honest John answer is only good for early TDI 90's
------------------------
That's running from the *Inlet* near the turbo, not the exhaust. Even though Honest John says the exhaust, he's wrong.
This is good advice, but only valid for early TDI 90's (AHU, 1Z and the like -
Mk2 Ibiza's etc) - the hose is taking manifold pressure to the Manifold Air Pressure sensor, which on these engines is integrated into the ECU. Later engines (including everything bigger than 90bhp, I think) has the MAP sensor in the manifold, together with the Manifold air temperature sensor.
You need a VAG-com analysis to narrow down what's causing you to go into limp mode. The usual suspects are the variable-geometry
guide vanes in the turbine section of the turbo getting sooty and sticking, or the EGR valve clogging up the inlet manifold and sticking partly open.