Skip to content

Debugging the extension

Rich Chiodo edited this page Oct 16, 2020 · 2 revisions

How to debug

Generally follow the guidelines in the CONTRIBUTING.md

However there are times where you need to debug what VS code is doing too.

Debugging the extension host

Follow the directions here to get VS code up and running https://github.com/microsoft/vscode/wiki/How-to-Contribute#debugging

Once it builds, you then need to convince the vscode-OSS-dev build to load our extension and debug it.

To do so:

  1. Find the vscode-oss-dev extensions folder. Example: C:\Users\Rich\.vscode-oss-dev\extensions
  2. git clone the jupyter repo into a folder like so at that spot: git clone https://github.com/microsoft/vscode-jupyter.git ms-toolsai.jupyter-2020.10.0-dev
  3. Build the jupyter extension at that location
  4. Launch VS code from the vscode-oss-dev build
  5. It should load the built jupyter extension
  6. Breakpoints (for now) can be set in the jupyter extension by setting them in the out folder.
Clone this wiki locally