No Description

Johan Mabille 5f8c84b0ec Added .orig files to gitignore 5 years ago
binder a86e9031fa Upgraded to xeus-python 0.6.7 5 years ago
examples 87d4d3b8d1 Initial support for handling msgs for other cells 5 years ago
schema 44eeb41d1a more work in progress 5 years ago
src d41943e4ad Restores the stopped threads after a restoreState request 5 years ago
style 8058a0ec80 setOffoptions put to the namespace of CellManger 5 years ago
tests e87da66a5f Handle mimeType 5 years ago
typings be46e87e89 refactor objectInspector, add information about typing react-inspector 5 years ago
.gitignore 5f8c84b0ec Added .orig files to gitignore 5 years ago
.prettierignore 1910f45233 Add .prettierignore file 5 years ago
.prettierrc 65b4154a8c Add .prettierrc 5 years ago
DESIGN.md f8f82ebdfe Fix design file location. 5 years ago
LICENSE 64db2dfe4b Update LICENSE 5 years ago
README.md 4e7440ac88 Add a Binder badge that points to master 5 years ago
azure-pipelines.yml a86e9031fa Upgraded to xeus-python 0.6.7 5 years ago
package.json 81d4674ffb The model now keeps all the breakpoints of a notebook 5 years ago
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. 5 years ago
tsconfig.json 25bfc84fb0 Add scaffolding for tests 5 years ago
tslint.json 2b431c1d42 Add tslint config for sorted imports 5 years ago

README.md

@jupyterlab/debugger

Build Status Binder Binder-master

A JupyterLab debugger UI extension

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

Prerequisites

  • JupyterLab 1.1+
  • xeus-python 0.6.5+

Development

# Create a new conda environment
conda create -n jupyterlab-debugger -c conda-forge jupyterlab nodejs xeus-python=0.6 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 mode 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

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>

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