|
5 years ago | |
---|---|---|
schema | 5 years ago | |
src | 5 years ago | |
style | 5 years ago | |
tests | 5 years ago | |
.gitignore | 5 years ago | |
.prettierrc | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
package.json | 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 not yet available.
# Create a new conda environment
conda create -n jupyterlab-debugger -c conda-forge jupyterlab nodejs xeus-python ptvsd
# Activate the conda environment
conda activate jupyterlab-debugger
# Create a directory for the kernel debug logs in the folder where JupyterLab is started
mkdir xpython_debug_logs
# 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 move enabled
XEUS_LOG=1 jupyter lab --no-browser --watch
Make sure xeus-python
is installed and jupyter --paths
points to where the kernel is installed.
To run the tests:
# [Optional] to enable the logs for xeus-python
export XEUS_LOG=1
jlpm run test