Skip to content

Commit 47e6a0a

Browse files
author
Jonas
committed
Start Translation of debugging-chrome
1-js/03-code-quality/01-debugging-chrome
1 parent 66ec0af commit 47e6a0a

File tree

1 file changed

+17
-17
lines changed
  • 1-js/03-code-quality/01-debugging-chrome

1 file changed

+17
-17
lines changed

1-js/03-code-quality/01-debugging-chrome/article.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
# Debugging in Chrome
1+
# Debuggen in Chrome
22

3-
Before writing more complex code, let's talk about debugging.
3+
Bevor wir komplexeren Code schreiben, lass uns über Debuggen sprechen.
44

5-
All modern browsers and most other environments support "debugging" -- a special UI in developer tools that makes finding and fixing errors much easier.
5+
Alle modernen Browser und die meisten anderen Umgebungen unterstützen "debuggen" -- eine spezielle UI in den Entwicklerwerkzeugen, welches es einfacher macht Fehler zu finden und zu beheben.
66

7-
We'll be using Chrome here, because it's probably the most feature-rich in this aspect.
7+
Wir werden hier Chrome verwenden, da es wahrscheinlich das Funktionsreichste in diesem Bereich ist.
88

9-
## The "sources" pane
9+
## Der "sources" Bereich
1010

11-
Your Chrome version may look a little bit different, but it still should be obvious what's there.
11+
Deine Chrome Version sieht vielleicht etwas anders aus, aber es sollte trotzdem offensichtlich sein, was da ist.
1212

13-
- Open the [example page](debugging/index.html) in Chrome.
14-
- Turn on developer tools with `key:F12` (Mac: `key:Cmd+Opt+I`).
15-
- Select the `sources` pane.
13+
- Öffne die [Beispielseite](debugging/index.html) in Chrome.
14+
- Öffne die Entwicklerwerkzeugen mit `key:F12` (Mac: `key:Cmd+Opt+I`).
15+
- Öffne den `sources` Bereich.
1616

17-
Here's what you should see if you are doing it for the first time:
17+
Folgendes sollten Sie sehen, wenn Sie dies zum ersten Mal machst:
1818

1919
![](chrome-open-sources.png)
2020

21-
The toggler button <span class="devtools" style="background-position:-168px -76px"></span> opens the tab with files.
21+
Die Schaltfäche <span class="devtools" style="background-position:-168px -76px"></span> öffnet die Registerkarte mit den Dateien.
2222

23-
Let's click it and select `index.html` and then `hello.js` in the tree view. Here's what should show up:
23+
Wir klicken darauf und wählen `index.html` aus und danach `hello.js` in der Baumansicht. Hier ist, was erscheinen sollte:
2424

2525
![](chrome-tabs.png)
2626

27-
Here we can see three zones:
27+
Hier können wir 3 Bereiche erkennen:
2828

29-
1. The **Resources zone** lists HTML, JavaScript, CSS and other files, including images that are attached to the page. Chrome extensions may appear here too.
30-
2. The **Source zone** shows the source code.
31-
3. The **Information and control zone** is for debugging, we'll explore it soon.
29+
1. Der **Ressourcen Bereich** listet HTML, JavaScript, CSS und andere Dateien auf, einschließlich Bilder die in der Seite eingebunden.
30+
2. Der **Source Bereich** zeigt den Source Code.
31+
3. Der **Information und Kontroll Bereich** ist für das Debuggen, wir werden ihn bald erkunden.
3232

33-
Now you could click the same toggler <span class="devtools" style="background-position:-200px -76px"></span> again to hide the resources list and give the code some space.
33+
Jetzt können Sie auf die selbe Schaltfläche <span class="devtools" style="background-position:-200px -76px"></span> erneut klicken um die Ressourcen Liste zu verstecken und dem Code platz zu schaffen.
3434

3535
## Console
3636

0 commit comments

Comments
 (0)