diff --git a/nodes/core/core/58-debug.html b/nodes/core/core/58-debug.html
index 61b8e26e6..845c0ed72 100644
--- a/nodes/core/core/58-debug.html
+++ b/nodes/core/core/58-debug.html
@@ -168,7 +168,7 @@
msg.onclick = function() {
var node = RED.nodes.node(o.id) || RED.nodes.node(o.z);
if (node) {
- RED.workspaces.show(node.z);
+ RED.view.reveal(node.id);
}
};