diff --git a/nodes/core/core/58-debug.html b/nodes/core/core/58-debug.html
index 4812f5fab..6c0026226 100644
--- a/nodes/core/core/58-debug.html
+++ b/nodes/core/core/58-debug.html
@@ -182,7 +182,7 @@
msg.onclick = function() {
var node = RED.nodes.node(o.id);
if (node) {
- RED.view.showWorkspace(node.z);
+ RED.workspaces.show(node.z);
}
};