Read the latest Real Python tutorials
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
Built Distribution
Close
Hashes for vscode-debugger-magic-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cda7dc18e3605579e9a0488902a298128b32d8c9e7a2c726f3ba92854447abf2 |
|
MD5 | 76e58c6c6a9cda1c6e97df2effc512b8 |
|
BLAKE2b-256 | 4463ba7612185a8aa82b5d686ccc2728894c0bd3034c5b0cabd6a18d065535ca |
Close
Hashes for vscode_debugger_magic-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58bdcc4d9e4b4ba9d07c83388fe5e14c1f729ba9c04bdafe4271295d4761c5d0 |
|
MD5 | 1f6a97cb0d167b3dc8c4ea4b9c19ca11 |
|
BLAKE2b-256 | 75bebcd48341ed7f1966a1461292c22e82b2efa5a0fef07f6ac83036fa668931 |