Inspired by the great demand for a suitable setup, I have written down my settings here. This is not an issue but a possible basis for a documentation.
My setting consists of a proxmox-lxc, in which a test adapter was created via Adapter-Creator. The processing is done via ssh from a Windows client via VSC.
First, I stored a 'launch.json' from the example here (https://github.com/ioBroker/create-adapter/issues/1059) in VSC under .vscode. I adjusted this until no more errors were displayed.
I then started the dev-server with 'run'. Now I could debug via ssh.
Whether all the steps were correct or something could be too much, must be judged by the experts.
Inspired by the great demand for a suitable setup, I have written down my settings here. This is not an issue but a possible basis for a documentation. My setting consists of a proxmox-lxc, in which a test adapter was created via Adapter-Creator. The processing is done via ssh from a Windows client via VSC. First, I stored a 'launch.json' from the example here (https://github.com/ioBroker/create-adapter/issues/1059) in VSC under .vscode. I adjusted this until no more errors were displayed.
Additionally, I added the following line to the lxc in .bashrc:
I then started the dev-server with 'run'. Now I could debug via ssh. Whether all the steps were correct or something could be too much, must be judged by the experts.