Žiadny popis

Jeremy Tuloup 3290cdea2a Merge pull request #53 from JohanMabille/start_stop 5 rokov pred
schema 44eeb41d1a more work in progress 5 rokov pred
src 63c5dff308 Start and stop commands always visible, either enabled or disabled 5 rokov pred
style ec77927368 Merge branch 'notebook_lines' into debugger-ui 5 rokov pred
tests bdcc0b95ed Upgraded to xeus-python 0.5.3 and replaced updateCell with dumpCell 5 rokov pred
.gitignore 7723f736f8 Add xeus-python debug log files to gitignore 5 rokov pred
.prettierrc 65b4154a8c Add .prettierrc 5 rokov pred
DESIGN.md f8f82ebdfe Fix design file location. 5 rokov pred
LICENSE 64db2dfe4b Update LICENSE 5 rokov pred
README.md d8ce068190 Add kernelspy extension to the README 5 rokov pred
azure-pipelines.yml bdcc0b95ed Upgraded to xeus-python 0.5.3 and replaced updateCell with dumpCell 5 rokov pred
package.json 57ad58b3cb Add tslint task to git commit hook 5 rokov pred
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. 5 rokov pred
tsconfig.json 25bfc84fb0 Add scaffolding for tests 5 rokov pred
tslint.json 9e67f61b69 Add a shell JupyterLab extension. 5 rokov pred

README.md

@jupyterlab/debugger

A JupyterLab debugger UI extension

This extension is under active development and is not yet available.

Prerequisites

  • JupyterLab 1.1+
  • xeus-python 0.5+

Development

# Create a new conda environment
conda create -n jupyterlab-debugger -c conda-forge jupyterlab nodejs xeus-python=0.5.3 ptvsd

# 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 move enabled
XEUS_LOG=1 jupyter lab --no-browser --watch

Tests

To run the tests:

# [Optional] to enable the logs for xeus-python
export XEUS_LOG=1

jlpm run test

Inspecting debug messages

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