Skip to content

How configure VSCode to work with pyscript? #23

@tms320

Description

@tms320

I have installed pyscript into Home Assistant (HA). It works properly (I can execute python scripts).
On my client Windows machine I installed HASS Pyscript kernel shim for Jupyter and set settings in pyscript.conf file.
Here is output of jupyter kernelspec list console command:

Available kernels:
python3     C:\Users\trofi\AppData\Roaming\Python\share\jupyter\kernels\python3
pyscript    C:\ProgramData\jupyter\kernels\pyscript

I want to remotely debug my python script /pyscript/test.py located on my HA machine (Ubuntu server).
I installed Jupyter extension in VSCode on my Windows machine and created new Jupyter notebook. What are my next steps to connect it to pyscript?
If I press this:
image
I see this:
image
I don't see pyscript kernel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions