If you only had one debug node and links to it when you want to show debug data then you could filter the ones which get sent to the debug pane.
It is pretty clunky. Example filtering by msg.topic:
[{"id":"93c554e06ca6c140","type":"tab","label":"FIltered Debug","disabled":false,"info":"","env":[]},{"id":"55e28d1d57c75974","type":"group","z":"93c554e06ca6c140","name":"Maintain allowed debug topics","style":{"label":true},"nodes":["85a4538e28e5c29a","304a609bf7a2fe56","647ea17451749b49","6baf26742d602458","3f25354ae7b8c3e8"],"x":34,"y":19,"w":792,"h":122},{"id":"36a8eff86b5266bb","type":"group","z":"93c554e06ca6c140","name":"Display or discard debug depending on topic","style":{"label":true},"nodes":["8324491a9cefb233","338bff775b0c19ad","bda72a27cbd5efc2","4f532cb5ca33ed85","d7e2d2938416c042"],"x":34,"y":159,"w":792,"h":122},{"id":"b06462f46fdad05c","type":"group","z":"93c554e06ca6c140","name":"Test data","style":{"label":true},"nodes":["1ff5ca6a4e39dd0a","86cb91a65482a85f","1e6966d7a84387be","1511e85ebf4cee8d","68490dc9c283b8a5","8963edb58996114d","589826de2bd58bec","eee4277873214d81"],"x":34,"y":299,"w":682,"h":122},{"id":"8324491a9cefb233","type":"debug","z":"93c554e06ca6c140","g":"36a8eff86b5266bb","name":"FIltered Debug","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":700,"y":240,"wires":[]},{"id":"338bff775b0c19ad","type":"switch","z":"93c554e06ca6c140","g":"36a8eff86b5266bb","name":"Known topic?","property":"debugfilter","propertyType":"flow","rules":[{"t":"hask","v":"topic","vt":"msg"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":320,"y":200,"wires":[["bda72a27cbd5efc2"],["d7e2d2938416c042"]]},{"id":"1ff5ca6a4e39dd0a","type":"inject","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"debugyes","payload":"","payloadType":"date","x":170,"y":340,"wires":[["68490dc9c283b8a5"]]},{"id":"86cb91a65482a85f","type":"inject","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"debugno","payload":"","payloadType":"date","x":170,"y":380,"wires":[["eee4277873214d81"]]},{"id":"1e6966d7a84387be","type":"inject","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"something else","payload":"","payloadType":"date","x":530,"y":340,"wires":[["589826de2bd58bec"]]},{"id":"bda72a27cbd5efc2","type":"switch","z":"93c554e06ca6c140","g":"36a8eff86b5266bb","name":"Show this topic?","property":"debugfilter[msg.topic]","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":520,"y":200,"wires":[["8324491a9cefb233"]]},{"id":"1511e85ebf4cee8d","type":"inject","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":480,"y":380,"wires":[["8963edb58996114d"]]},{"id":"85a4538e28e5c29a","type":"inject","z":"93c554e06ca6c140","g":"55e28d1d57c75974","name":"Go","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":130,"y":60,"wires":[["304a609bf7a2fe56"]]},{"id":"304a609bf7a2fe56","type":"template","z":"93c554e06ca6c140","g":"55e28d1d57c75974","name":"Set flow.debugfilter","field":"debugfilter","fieldType":"flow","format":"handlebars","syntax":"mustache","template":"{\n \"debugyes\": true,\n \"debugno\": false\n}","output":"json","x":310,"y":60,"wires":[[]]},{"id":"4f532cb5ca33ed85","type":"link in","z":"93c554e06ca6c140","g":"36a8eff86b5266bb","name":"Filtered Debug","links":["68490dc9c283b8a5","eee4277873214d81","589826de2bd58bec","8963edb58996114d"],"x":140,"y":200,"wires":[["338bff775b0c19ad"]],"l":true},{"id":"68490dc9c283b8a5","type":"link out","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"link out 1","mode":"link","links":["4f532cb5ca33ed85"],"x":335,"y":340,"wires":[]},{"id":"eee4277873214d81","type":"link out","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"link out 2","mode":"link","links":["4f532cb5ca33ed85"],"x":335,"y":380,"wires":[]},{"id":"589826de2bd58bec","type":"link out","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"link out 3","mode":"link","links":["4f532cb5ca33ed85"],"x":675,"y":340,"wires":[]},{"id":"8963edb58996114d","type":"link out","z":"93c554e06ca6c140","g":"b06462f46fdad05c","name":"link out 4","mode":"link","links":["4f532cb5ca33ed85"],"x":675,"y":380,"wires":[]},{"id":"d7e2d2938416c042","type":"switch","z":"93c554e06ca6c140","g":"36a8eff86b5266bb","name":"allowunknown == true?","property":"allowunknown","propertyType":"flow","rules":[{"t":"true"}],"checkall":"true","repair":false,"outputs":1,"x":350,"y":240,"wires":[["8324491a9cefb233"]]},{"id":"647ea17451749b49","type":"inject","z":"93c554e06ca6c140","g":"55e28d1d57c75974","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":true,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":510,"y":60,"wires":[["3f25354ae7b8c3e8"]]},{"id":"6baf26742d602458","type":"inject","z":"93c554e06ca6c140","g":"55e28d1d57c75974","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"false","payloadType":"bool","x":510,"y":100,"wires":[["3f25354ae7b8c3e8"]]},{"id":"3f25354ae7b8c3e8","type":"change","z":"93c554e06ca6c140","g":"55e28d1d57c75974","name":"","rules":[{"t":"set","p":"allowunknown","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":60,"wires":[[]]}]