Jump to content
Private Messaging is activated - check "How to" on how to disable it ×

Can't connect to vscode


---
 Share

Recommended Posts

Hello everyone,

I have recently started to get into scripting in ZEISS INSPECT 2025 but using the internal editor is really holding me back, so i tried to connect vscode using this guide: 

Using Visual Studio Code as an add-on editor — Add-On Documentation

However, when clicking on "Host: Disconnected" the only thing that happens is it tries to add a nonexisting folder to the workspace and doesn't connect.

image.png.fc21610b9f5cad4fb6b94ba216d99927.png

When I change the Editor Port in INSPECT to something else, vscode gives me an error saying "Cannot connect to application" so i know that the settings are correct.

The settings in INSPECT also look a little different from the Guide, as  they are under Apps->API configuration and there appears to be an API key which is not mentioned anywhere else.

Link to comment
Share on other sites

Yes, without it there wouldn't be a "Host: disconnected" Button.

I have also tried multiple versions of this addon.

Link to comment
Share on other sites

I have now also tested this with INSPECT 2025 - and also get no connection from VSC to INSPECT! With the INSPECT 2023 version, on the other hand, this works perfectly. I set the port to the same value 40000 in both versions.

Link to comment
Share on other sites

 Share

×
×
  • Create New...