Skip to main content

A Ipython (Jupyter) magic for attaching a debugging session on VSCode

Project description

Vscode-Debugger-Magic

Attach a debugging session of visual studio code to the jupyter notebook

Install

pip install vscode-debugger-magic

Usage

  • Load the magic extension:
%load_ext vscode_debugger_magic
  • Run the magic in jupyter notebook
%vscodedebugger
  • Activate the debugging session in Visual studio code in the Python attached mode:
{
    "name": "Python: Attach",
    "type": "python",
    "request": "attach",
    "port": 5678,
    "host": "localhost"
},
  • Set breakpoints in vscode
  • Invoke functions to be debugged

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vscode-debugger-magic-1.1.0.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

vscode_debugger_magic-1.1.0-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page