Cleaned up markdown formatting
This addresses the following: - Cleans up some minor typos - Normalizes the json code blocks - Removes unnecessary whitespace characters - Wraps `kbd` tags around instructions containing a plain text `F5` Note that for the `json` code block with comments – step 5 of the configure section, I changed the language to `js` so that the comments would render properly.
This commit is contained in:
Родитель
40ce4bab08
Коммит
42d5662571
|
@ -19,7 +19,7 @@ This recipe shows how to debug a Python application using the VS Code extension
|
|||
|
||||
2. Then click on the gear icon to configure a launch.json file, select **Launch** for the environment.
|
||||
|
||||
3. YOu may get an option of the environments available, select **Python**.
|
||||
3. You may get an option of the environments available, select **Python**.
|
||||
|
||||
4. The generated json will have a lot of the configurations. You can keep all of them or only the ones you want.
|
||||
|
||||
|
@ -82,12 +82,13 @@ This recipe shows how to debug a Python application using the VS Code extension
|
|||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "externalTerminal"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
5. For basic Python debugging of files, you will only need the following configuration:
|
||||
```json
|
||||
```js
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
|
@ -107,7 +108,8 @@ This recipe shows how to debug a Python application using the VS Code extension
|
|||
"request": "launch",
|
||||
"program": "${file}",
|
||||
"console": "externalTerminal"
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -115,14 +117,14 @@ This recipe shows how to debug a Python application using the VS Code extension
|
|||
|
||||
1. Open your Python file in VS Code.
|
||||
|
||||
2. Go to the Debug view, select the **Start Debugging** then press F5 or click the green play button.
|
||||
2. Go to the Debug view, select the **Start Debugging** then press <kbd>F5</kbd> or click the green play button.
|
||||
|
||||
3. VS Code should now show the rails server logs.
|
||||
|
||||
4. Go ahead and set a breakpoint in any of the files by clicking on the space before the line number. A red dot should appear to show a breakpoint.
|
||||
|
||||
5. Press F5 to start debugging.
|
||||
5. Press <kbd>F5</kbd> to start debugging.
|
||||
|
||||
6. Your breakpoint should now be hit.
|
||||
|
||||
7. To continue, press F5 again, till you reach the end.
|
||||
7. To continue, press <kbd>F5</kbd> again, till you reach the end.
|
||||
|
|
Загрузка…
Ссылка в новой задаче