3.8 KiB
❓ Troubleshooting
The Continue VS Code extension is currently in beta. It will attempt to start the Continue Python server locally for you, but sometimes this will fail, causing the "Starting Continue server..." not to disappear, or other hangups. While we are working on fixes to all of these problems, there are a few things you can do to temporarily troubleshoot:
Reload VS Code
Open the command palette with cmd+shift+p, then type "Reload Window" and select it. This will give Continue another chance to start the server.
Kill the existing server
If the above doesn't work, you can try to kill the server manually before reloading.
- Open any terminal
- Enter
lsof -i :65432 | grep "(LISTEN)" | awk '{print $2}' | xargs kill -9to kill the server running on port 65432. - Restart VS Code, and Continue will attempt to start a fresh server.
Delete ~/.continue
To get a completely fresh install of Continue, you can delete the ~/.continue directory. Note that this will delete your config file and all saved sessions and development data.
Run the server manually
If none of these work, you can start the server yourself as is explained here: Running the Continue server manually
Manually download the server binary
Continue runs a Python server locally on your machine, but packages it as a binary using pyinstaller to avoid dependency issues. The corresponding binary for your operating system is downloaded when you first install the extension, but if you are in an air-gapped environment, or are otherwise having trouble setting up, you can manually download the binary from our S3 bucket. These are the download links for each OS:
Once downloaded, start the binary by running ./run (MacOS/Linux) or ./run.exe (Windows) in the directory where you downloaded it. You should see that it begins listening on port 65432.
Important: Continue checks to see if an old version of the binary is running. If so, it will kill the process. To avoid this, you should update the contents of
~/.continue/server/server_version.txtto match your current Continue extension version (e.g. "0.0.1"). This will prevent the extension from killing the server you just started. Once this is done, you can reload the VS Code window and Continue should connect.
Check the server logs
cmd+shift+p(MacOS) /ctrl+shift+p(Windows)- Search for and then select "Developer: Toggle Developer Tools"
- Read the
continue.logfile that has opened
Check the console logs
If your Continue server is not setting up, try checking the console logs:
cmd+shift+p(MacOS) /ctrl+shift+p(Windows)- Search for and then select "Developer: Toggle Developer Tools"
- Select
Console - Read the console logs
Download an Older Version
If you've tried everything, reported an error, and are waiting to hear back, you can try downloading an older version of the extension. All versions are hosted on the Open VSX Registry here. Once you've downloaded the extension, which will be a .vsix file, you can install it manually by following the instructions here.
Still having trouble?
Create a GitHub issue here, leaving the details of your problem, and we'll be able to more quickly help you out.