Skip to content

Commit 2a87805

Browse files
link repo, fix icons, add features card
1 parent 2723bf7 commit 2a87805

2 files changed

Lines changed: 22 additions & 7 deletions

File tree

docs/getting-started/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Introduction
44

55
import BenefitGrid from '@site/src/components/BenefitGrid';
66

7-
PHP Debugger is a step debugger for PHP, and nothing else. Every other feature that
7+
[PHP Debugger](https://github.com/php-debugger/php-debugger) is a step debugger for PHP, and nothing else. Every other feature that
88
normally ships alongside one — the profiler, the coverage collector, the tracer — has
99
been left out. What remains is a debugger you can leave switched on permanently,
1010
because when you are not using it you can barely tell it is there.

src/components/BenefitGrid/index.js

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ const benefits = [
1717
text: 'With no debug client connected, the debugger stays out of the way. A typical web request does around 1% more work than running with no debugger at all.',
1818
icon: (
1919
<svg {...iconProps}>
20-
<path d="M4 18a8 8 0 1 1 16 0" />
21-
<path d="M12 18l4.5-5" />
20+
<path d="M3 16a9 9 0 1 1 18 0" />
21+
<path d="M12 16l5.5-6" />
22+
<circle cx="12" cy="16" r="1.4" />
2223
</svg>
2324
),
2425
},
@@ -53,12 +54,27 @@ const benefits = [
5354
</svg>
5455
),
5556
},
57+
{
58+
title: 'Everything you expect',
59+
text: 'Breakpoints and conditional breakpoints. Step over, into, and out. Inspect variables, objects, and arrays, and watch expressions change as you go.',
60+
icon: (
61+
<svg {...iconProps}>
62+
<rect x="6" y="7" width="12" height="13" rx="6" />
63+
<path d="M9 7.5V6a3 3 0 0 1 6 0v1.5" />
64+
<path d="M12 11v8" />
65+
<path d="M2.5 11.5H6M18 11.5h3.5" />
66+
<path d="M3.5 17.5 6 16M20.5 17.5 18 16" />
67+
</svg>
68+
),
69+
},
5670
{
5771
title: 'One job, done well',
5872
text: 'No profiler, no code coverage, no tracing. Step debugging is the only thing here, which is exactly why the rest of the time it costs you so little.',
5973
icon: (
6074
<svg {...iconProps}>
61-
<path d="M4 7h16M7 12h10M10 17h4" />
75+
<circle cx="12" cy="12" r="9" />
76+
<circle cx="12" cy="12" r="5" />
77+
<circle cx="12" cy="12" r="1.4" />
6278
</svg>
6379
),
6480
},
@@ -67,9 +83,8 @@ const benefits = [
6783
text: 'Use it as a regular extension, or reach for a container image with the debugger compiled straight into the interpreter. Change one line of your Dockerfile and you are done.',
6884
icon: (
6985
<svg {...iconProps}>
70-
<rect x="7" y="7" width="10" height="10" rx="1.5" />
71-
<path d="M10 3v4M14 3v4M10 17v4M14 17v4" />
72-
<path d="M3 10h4M3 14h4M17 10h4M17 14h4" />
86+
<path d="M12 2.5 20.5 7v10L12 21.5 3.5 17V7z" />
87+
<path d="M8.5 12l2.5 2.5 4.5-4.5" />
7388
</svg>
7489
),
7590
},

0 commit comments

Comments
 (0)