Sem descrição

Borys Palka 565d6c79e5 Merge branch 'debugger-ui' of github.com:KsavinN/debugger into debugger-ui há 5 anos atrás
schema 44eeb41d1a more work in progress há 5 anos atrás
src 254abaa064 Merge branch 'response' into debugger-ui há 5 anos atrás
style 62e89b8b26 Add the sidebar to the main area há 5 anos atrás
tests 87989c3365 Add test for debugInfo request há 5 anos atrás
.gitignore e498d364ce fix conflicts há 5 anos atrás
.prettierignore 1910f45233 Add .prettierignore file há 5 anos atrás
.prettierrc 65b4154a8c Add .prettierrc há 5 anos atrás
DESIGN.md f8f82ebdfe Fix design file location. há 5 anos atrás
LICENSE 64db2dfe4b Update LICENSE há 5 anos atrás
README.md 4bd62fbfa3 Add Azure Pipeline badge for build status há 5 anos atrás
azure-pipelines.yml 5fd035644e Restore debugger session state há 5 anos atrás
package.json 9b6e1b0505 Wait for `stopped` debug event in tests há 5 anos atrás
tdoptions.json 9e67f61b69 Add a shell JupyterLab extension. há 5 anos atrás
tsconfig.json 25bfc84fb0 Add scaffolding for tests há 5 anos atrás
tslint.json 9e67f61b69 Add a shell JupyterLab extension. há 5 anos atrás

README.md

@jupyterlab/debugger

Build Status

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