You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-16Lines changed: 8 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,23 +132,15 @@ You can identify the development version of Code by the Electron icon in the Doc
132
132
means you didn't run `gulp watch` first.
133
133
134
134
### Debugging
135
-
VS Code uses a multi process architecture and your code is executed in different
136
-
processes:
137
-
* the render process runs the UI code inside the Shell window
138
-
* the plugin host process runs code implemented by a plugin
135
+
Code has a multi-process architecture and your code is executed in different processes:
136
+
* The **render** process runs the UI code inside the Shell window. To debug code running in the **renderer** process, launch the Chrome Developers Tools
137
+
using the `Developer: Toggle Developer Tools` command from the Command Palette.
139
138
140
-
To debug code that runs in the renderer process you launch the Chrome Developers Tools using
141
-
`Help | Toggle Developer Tools`.
142
-
143
-
To debug code that runs inside the plugin host process you open another instance of the Chrome
144
-
Developer Tools using `Developer: Reveal Plugin Host Process` from the command palette.
145
-
146
-
**Tip!** When you are done debugging, use the 'Hide Window' button to close the Chrome Developer
147
-
Tools on the Plugin Host Process, or use the command `Developer: Hide Plugin Host Process Window`.
148
-
Do not close the window using the close button as this will also kill the plugin host process itself.
139
+
* The **extension host** process runs code implemented by a plugin. To debug extensions (including those packaged with code) which run in the **extension host**
140
+
process, you can use VS Code itself. Switch to the Debug viewlet, choose the
141
+
`Attach to Extension Host` configuration, and press `F5`.
149
142
150
143
### Unit Testing
151
144
Press `SHIFT+CMD+T` (`CTRL+SHIFT+T` on Windows) to start the unit tests or run the tests directly
152
-
from a terminal using `gulp test`. The [test README.md](test/README.md) has complete details on
153
-
how to run tests and coverage reports.
154
-
145
+
from a terminal by running `mocha` from the `vscode` folder. The [/test README](test/README.md) has complete details on
146
+
how to run and debug tests, as well as how to produce coverage reports.
0 commit comments