Sin descripción

Johan Mabille b1b41742d1 Merge pull request #203 from jtpio/value-changed-signal hace 5 años
binder 25cab7cf49 Upgraded to xeus-python 0.6.6 hace 5 años
examples 87d4d3b8d1 Initial support for handling msgs for other cells hace 5 años
schema 44eeb41d1a more work in progress hace 5 años
src 20c277d2ad Use the value.changed signal for the cell monitor hace 5 años
style d4ffc8b2a7 resolve hover issue in console and editor error hace 5 años
tests 188f98b0da Added tests for restart and fixed it hace 5 años
typings be46e87e89 refactor objectInspector, add information about typing react-inspector hace 5 años
.gitignore 7723f736f8 Add xeus-python debug log files to gitignore hace 5 años
.prettierignore 1910f45233 Add .prettierignore file hace 5 años
.prettierrc 65b4154a8c Add .prettierrc hace 5 años
DESIGN.md f8f82ebdfe Fix design file location. hace 5 años
LICENSE 64db2dfe4b Update LICENSE hace 5 años
README.md 4e7440ac88 Add a Binder badge that points to master hace 5 años
azure-pipelines.yml 25cab7cf49 Upgraded to xeus-python 0.6.6 hace 5 años
package.json 81d4674ffb The model now keeps all the breakpoints of a notebook hace 5 años
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. hace 5 años
tsconfig.json 25bfc84fb0 Add scaffolding for tests hace 5 años
tslint.json 2b431c1d42 Add tslint config for sorted imports hace 5 años

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