fix typo
This commit is contained in:
Родитель
23ef7f5846
Коммит
5c15bfb55a
|
@ -15,7 +15,7 @@ We assume that you have already cloned this repository, ran `yarn` and opened th
|
||||||
|
|
||||||
Pressing **F5** opens another VS Code window with a project folder containing a sample notebook.
|
Pressing **F5** opens another VS Code window with a project folder containing a sample notebook.
|
||||||
|
|
||||||
In order to debug cells you can enable debug mode by pressing the "bug" action in the editors toolbook.
|
In order to debug cells you can enable debug mode by pressing the "bug" action in the editor's toolbar.
|
||||||
This makes the breakpoint gutter available where you can set breakpoints.
|
This makes the breakpoint gutter available where you can set breakpoints.
|
||||||
When you now evaluate cells, breakpoints will be hit and you can inspect variables in VS Code's usual debugger views and panes.
|
When you now evaluate cells, breakpoints will be hit and you can inspect variables in VS Code's usual debugger views and panes.
|
||||||
|
|
||||||
|
@ -148,4 +148,4 @@ Here is the Nodebook sample tracker that converts cell URIs to tmp file paths an
|
||||||
|
|
||||||
In the direction from VS Code to the debug adapter (`onWillReceiveMessage`) we use the `dumpCell` method again because it will ensure that the cell's content is dumped to a temporary file before the path to this file is used to patch the source object.
|
In the direction from VS Code to the debug adapter (`onWillReceiveMessage`) we use the `dumpCell` method again because it will ensure that the cell's content is dumped to a temporary file before the path to this file is used to patch the source object.
|
||||||
|
|
||||||
In the other direction (`onDidSendMessage`) the dictionary is used to find the notebook cell for a given file path. If successfull, the source object is patched with the cell's URI and the display name of the source is set to the notebook's base name followed by the cell's index within the notebook.
|
In the other direction (`onDidSendMessage`) the dictionary is used to find the notebook cell for a given file path. If successfull, the source object is patched with the cell's URI and the display name of the source is set to the notebook's base name followed by the cell's index within the notebook.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче