I am trying to set up debugging under VScode on Windows
I executed
git clone --recursive https://github.com/espressif/vscode-esp ... ension.git
and got the message;
Submodule 'esp_debug_adapter' (git@github.com:espressif/esp-debug-adapter.git) registered for path 'esp_debug_adapter'
Cloning into 'D:/_vault/vscode-esp-idf-extension/esp_debug_adapter'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git' into submodule path 'D:/_vault/vscode-esp-idf-extension/esp_debug_adapter' failed
Failed to clone 'esp_debug_adapter'. Retry scheduled
...
Can someone explain what I am missing?
fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git'
Re: fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git'
Two things:
- there is no reason to checkout the vs code extension via git. Try installing via the extension manager in vs code
- One of the errors is "Host key verification failed." Github had to change in SSH key recently. Perhaps this error is a result of that. If this is the problem you need to delete the offending key, but I have no idea how you would do that in windows. (if you're using the linux subsystem, you could check under ~/known_hosts and delete all the entries for github. Or have a look at this post from github https://github.blog/2023-03-23-we-updat ... -host-key/ they may have instructions for your setup.
The forum software is cutting off the command you are using.
I tried to replicate with what I think is your command line, and it worked fine:
Try posting the error message and the actual command line call in `Code` tags in the forum editor if you are still having issues.
- there is no reason to checkout the vs code extension via git. Try installing via the extension manager in vs code
- One of the errors is "Host key verification failed." Github had to change in SSH key recently. Perhaps this error is a result of that. If this is the problem you need to delete the offending key, but I have no idea how you would do that in windows. (if you're using the linux subsystem, you could check under ~/known_hosts and delete all the entries for github. Or have a look at this post from github https://github.blog/2023-03-23-we-updat ... -host-key/ they may have instructions for your setup.
The forum software is cutting off the command you are using.
I tried to replicate with what I think is your command line, and it worked fine:
Code: Select all
$ git clone --recursive https://github.com/espressif/vscode-esp-idf-extension.git
Cloning into 'vscode-esp-idf-extension'...
remote: Enumerating objects: 8014, done.
remote: Counting objects: 100% (959/959), done.
remote: Compressing objects: 100% (586/586), done.
remote: Total 8014 (delta 485), reused 755 (delta 341), pack-reused 7055
Receiving objects: 100% (8014/8014), 29.18 MiB | 6.73 MiB/s, done.
Resolving deltas: 100% (4762/4762), done.
Submodule 'esp_debug_adapter' (git@github.com:espressif/esp-debug-adapter.git) registered for path 'esp_debug_adapter'
Cloning into '/home/a2800276/tmp/vscode-esp-idf-extension/esp_debug_adapter'...
remote: Enumerating objects: 689, done.
remote: Counting objects: 100% (32/32), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 689 (delta 3), reused 10 (delta 3), pack-reused 657
Receiving objects: 100% (689/689), 1.59 MiB | 2.38 MiB/s, done.
Resolving deltas: 100% (415/415), done.
Submodule path 'esp_debug_adapter': checked out '46fd1e08cb808dfb8c3f36daceea5f47d9d5cb9a'
Try posting the error message and the actual command line call in `Code` tags in the forum editor if you are still having issues.
Re: fatal: clone of 'git@github.com:espressif/esp-debug-adapter.git'
Thank you, away from the computer for a while. I'll give it a go.
Who is online
Users browsing this forum: cdollar and 80 guests