Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Connecting to Remote Debugger

  • Last UpdatedSep 03, 2025
  • 2 minute read

Connecting to Remote Debugger

XR Wasm application can be inspected by connecting with remote debugger using the following steps.

  1. Add RestServer node in XR Project by enabling remote debugging.

    <RestServer name="debugServer" active="true" remoteDebug="true" />

  2. Click the Debug button on the server interface. Server will launch remote debugger application and starts the debug server on port 10667.

  3. (Optional) You can modify the port by changing value of ListenerPort in Apps\xrviewernxweb\XRViewerNXWeb.dll.config.

  4. Click Open Webpage to launch the XR Wasm application.

  5. When the application is launched and rendered, it logs a message “Connected to the debug server!”

  6. Click Connect on the remote debugger interface.

When both the XR Wasm application and Remote Debugger are connected, you can leverage all the functionalities of remote debugger such as get/set values of node fields.

Loading Pop Mesh models from local server over http

Popmesh models can be loaded over http from any server that is serving the model files.

For the convenience of XR Studio application developer, wasm target serves the popmesh files which are placed inside “data” folder. After the first launch of Wasm target, system creates “data” folder inside “_wwwroot” which is at project parent directory. Pop mesh models can be copied to this folder and loaded into project at runtime.

Sample workflow

Note: The origin of webpage and pop mesh URL should match, as highlighted.

  1. Copy the pop mesh files into data folder (example: zgl014)

  2. Launch Wasm target > Open Web Page > http://{youripaddress}:60495/

  3. Make “setmodel” JRPC request to load model into scene.

    { "jsonrpc": "2.0", "version": "2.0", "method": "setmodel", "params": [{ "sourceFileName": "http://{youripaddress}:60495/data/zgl014/zgl014.common.jpop", "uniqueID": "Id-0"}], "id": 100}

    In This Topic
    TitleResults for “How to create a CRG?”Also Available in