Use Datalayer from VS Code
Go to the action menu of the kernel and select the Copy link for IDE
action. This will copy in your clipboard a link to use in VS Code.
Go to your VS Code notebook, click on the Select Kernel
button.
Then choose Existing Jupyter Server
, next paste the link you have previously copied, click Enter
and choose the Python3 kernel.
That's it, your VS Code Notebook is connected to your Remote Kernel 👍.
info
You can connect to a Kernel from other IDEs like PyCharm as explained on the official PyCharm documentation.