зеркало из https://github.com/electron/electron.git
docs: Correct debugging chapter.
This commit is contained in:
Родитель
fdcad1066e
Коммит
9ad81c054d
|
@ -33,13 +33,13 @@ $ node-inspector
|
||||||
You can either start atom-shell with a debug flag like:
|
You can either start atom-shell with a debug flag like:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ atom-shell --debug your/app
|
$ atom-shell --debug=5858 your/app
|
||||||
```
|
```
|
||||||
|
|
||||||
or, to pause your script on the first line:
|
or, to pause your script on the first line:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ atom-shell --debug-brk your/app
|
$ atom-shell --debug-brk=5858 your/app
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Load the debugger UI
|
### 3. Load the debugger UI
|
||||||
|
|
Загрузка…
Ссылка в новой задаче