Skip to content

Commit abdbb91

Browse files
committed
updated description for VSCode Jupyter kernel fixes
1 parent a10fc2c commit abdbb91

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/new_features.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ The new features since 0.32 in master include:
4747
- Entities ``DOMAIN.ENTITY`` now support a virtual method ``SERVICE`` (eg, ``DOMAIN.ENTITY.SERVICE()``)
4848
that calls the service ``DOMAIN.SERVICE`` for any service that has an ``entity_id`` parameter, with
4949
that ``entity_id`` set to ``DOMAIN.ENTITY``. Proposed by @dlashua (#64).
50+
- VSCode connections to pyscript's Jupyter kernel now work. Two changes were required: VSCode immediately
51+
closes the heartbeat port, which no longer causes pyscript to shut down the kernel. Also, ``stdout``
52+
messages are flushed prior to sending the execute complete message. This is to ensure `log` and `print`
53+
messages get displayed in VSCode. One benign but unresolved bug with VSCode is that when you connect
54+
to the pyscript kernel, VSCode starts a second pyscript Jupyter kernel, before shutting that second one
55+
down.
5056

5157
The bug fixes since 0.32 in master include:
5258

0 commit comments

Comments
 (0)