1. Gap that programming segment at both ends.
2. Drop a dedicated set of feeders to it so that they dangle under the layout and the upper ends are soldered to the rails.
3. Get an SPDT toggle switch.
4. Wrap the loose ends of the feeders to the center posts of the SPDT.
5. Your bus wires off the power unit/control module of your DCC system should initially be long enough only to reach where you are going to have your SPDT located...probably right under where the programming lead is.
6. Wrap those initial short bus wires around the same posts as the feeders.
7. Wrap the contoller ends of the rest of your bus feeding the rest of the layout around the end posts of the SPDT. Flipped one way, your whole layout is powered when the power is on. Flipped the other way, only the programming segments gets power and the programming DCC signals you need to get to the decoder being fiddled with.
-Crandell