|
5 years ago | |
---|---|---|
binder | 5 years ago | |
examples | 5 years ago | |
schema | 5 years ago | |
src | 5 years ago | |
style | 5 years ago | |
tests | 5 years ago | |
.gitignore | 5 years ago | |
.prettierignore | 5 years ago | |
.prettierrc | 5 years ago | |
DESIGN.md | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
azure-pipelines.yml | 5 years ago | |
package.json | 5 years ago | |
screencast.gif | 5 years ago | |
tdoptions.json | 5 years ago | |
tsconfig.json | 5 years ago | |
tslint.json | 5 years ago |
A JupyterLab debugger UI extension.
This extension is under active development and is available as a pre-release:
jupyter labextension install @jupyterlab/debugger
A kernel with support for debugging is also required to be able to use the debugger:
conda install -c conda-forge xeus-python=0.6.7 notebook>=6 ptvsd
# Create a new conda environment
conda create -n jupyterlab-debugger -c conda-forge nodejs xeus-python=0.6 ptvsd jupyterlab=2
# Activate the conda environment
conda activate jupyterlab-debugger
# Install dependencies
jlpm
# Build TypeScript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild TypeScript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
# Start JupyterLab with the kernel logs enabled and watch mode enabled
XEUS_LOG=1 jupyter lab --no-browser --watch
To run the tests:
# [Optional] to enable the logs for xeus-python
export XEUS_LOG=1
jlpm run test
To run tests for a specific test suite name:
jlpm run test --testNamePattern=<regex>
To run tests for a specific test module name:
jlpm run test --testPathPattern=<regex>
The kernelspy extension for JupyterLab can be used to inspect the debug messages sent between the debugger UI and the kernel.
To install it:
jupyter labextension install jupyterlab-kernelspy