Add an intentional panic for debug

This commit is contained in:
Keavon Chambers
2021-09-11 09:46:55 -07:00
parent 06cf133324
commit cece89a9eb
3 changed files with 8 additions and 1 deletions

View File

@@ -161,6 +161,7 @@ const menuEntries: MenuListEntries = [
{ label: "Graphite License", action: () => window.open("https://raw.githubusercontent.com/GraphiteEditor/Graphite/master/LICENSE.txt", "_blank") },
{ label: "Third-Party Licenses", action: () => window.open("/third-party-licenses.txt", "_blank") },
],
[{ label: "Debug: Panic (DANGER)", action: async () => (await wasm).intentional_panic() }],
],
},
];