/
welcome.php
70 lines (66 loc) · 1.47 KB
/
welcome.php
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
/*
* This file is part of Chevere.
*
* (c) Rodolfo Berrios <rodolfo@chevere.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
foreach (['/../', '/../../../../'] as $path) {
$autoload = __DIR__ . $path . 'vendor/autoload.php';
if (stream_resolve_include_path($autoload)) {
require $autoload;
break;
}
}
xrr('👋 Welcome to xrDebug!');
xri()->pause();
xr(
🤓: 'xrDebug is a lightweight debugger.',
t: 'hello-world',
e: '🐘'
);
sleep(5);
xr(
👆: 'Edit session title by clicking on "xrDebug" up there.',
t: 'how-to',
e: '😜'
);
sleep(5);
xr(
😉: 'Use keyboard keys to Resume (R), pause (P), stop (S) and clear (C) the debug session.',
t: 'how-to',
e: '🕹️'
);
sleep(5);
xr(
✅: 'Clicking a topic (how-to button) or emote (👻 emoji) will apply filtering.',
🤤: 'Filters will appear on top, click to remove.',
t: 'how-to',
e: '👻'
);
sleep(5);
xr(
👈: 'Delete, copy and export with these buttons.',
t: 'how-to',
e: '😯'
);
sleep(5);
xr(
👇: 'Copy caller file path by clicking on ' . basename(__FILE__) . ':' . (string) (__LINE__ + 2) . ' here below.',
t: 'how-to',
e: '📎'
);
sleep(5);
xr(
💅: 'Dark/light mode follows your system preferences.',
t: 'how-to',
e: '🌚🌝'
);
sleep(5);
xrr(
'🎉 Enjoy <b>xrDebug</b>',
e: '😊'
);