blob: 6e25339c44f5798411314285a7e4d1de6a558be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// noinspection JSUnresolvedVariable
module.exports = () => {
Strawberry.App = "Debugger";
Strawberry.MultiPanes = false;
Strawberry.Window = false;
Strawberry.Menus = []
Strawberry.StartLoad();
Strawberry.WhenLoaded = () => {
load("Strawberry.Dialog");
load("Strawberry.AppManager");
Strawberry.Audio.SystemSound("Strawberry.System.Window");
Strawberry.Dialog.ConfirmLines([
color.underline("Strawberry Debugger"),
"",
"The Strawberry Debugger has been enabled. It will stay enabled",
"until the system is restarted.",
"",
"All app errors from now on will open the debugger with details",
"about the crash, including a stack trace and the list of",
"processes.",
"",
"The system will still have to restart after a crash."
], "OK", "green");
Strawberry.Dialog.WhenConfirmed = () => {
Strawberry.AppManager.Quit();
};
}
}
|