Skip to main content

Device Debug

Device debug validates real collection devices or data-forwarding targets in GatewayRuntime Web. It is not the same as "Test Data": Test Data generates demo channels, devices, and variables; Device Debug is opened from a selected real device or forwarding target.

Entry Points

Collection Device Debug

Open "Development Configuration > Collection Configuration", switch to "Device View", select a device row, then open the right-side "Debug" tab.

Foundation read/write debug

StepDescription
Switch to device viewVariable view shows variable lists; device view opens the device detail panel.
Select a deviceClick a device row, not a variable row.
Open debugUse the "Debug" tab in the device detail panel.
Run testsThe debug UI depends on the selected plugin.

Data Forwarding Target Debug

Open "Development Configuration > Data Forwarding", select a forwarding group, select a target, and open the right-side "Debug" tab. This is commonly used for MQTT, Kafka, RabbitMQ, ModbusSlave, and OpcUaServer targets.

Supported Debug Types

TypePurpose
FoundationGeneric address read/write testing.
OPC UA / OPC DANode browsing, read/write, import/export, and subscriptions.
MQTT ClientPublish messages, subscribe/unsubscribe topics, and inspect message logs.
MQTT ServerPublish messages, inspect topic statistics, connected clients, and kick clients.
KafkaPublish a test message to a Topic.
RabbitMQPublish a test message with a Routing Key.
CANSend/read CAN frames.
IEC61850 Master / ServerModel browsing, node/attribute read-write, status, subscriptions, control, and SOE.
ZeroMQPublish test messages by topic.

If a plugin does not support debug, the page shows an unsupported empty state.

Foundation Read/Write

FieldDescription
AddressRegister, node, or protocol address. The format depends on the plugin.
Data typeString, Boolean, Byte, integer types, Float, Double, or Decimal.
Array lengthUse 1 for single-point reads; increase only for continuous batch reads.
Write valueValue to write. It must match the selected data type and plugin format.
ReadRead from the current address.
WriteWrite the value to the current address. Confirm field safety before writing in production.

MQTT Client Debug

MQTT Client publish

FieldDescription
TopicMQTT topic to publish. Use a safe test topic when possible.
Message contentPayload, plain text or JSON.
QoS0 - At most once, 1 - At least once, or 2 - Exactly once.
RetainMQTT retain flag. Use carefully in production.
PublishPublish a test message through the current device or target.

MQTT Client subscription

FieldDescription
TopicTopic or wildcard topic to subscribe to.
QoSQoS for the subscription.
SubscribeAdd the topic to the subscription list.
UnsubscribeRemove a topic from the subscription list.
RefreshReload current subscriptions.
Message logShows debug connection state and messages.

MQTT Server Debug

MQTT Server publish

MQTT Server monitor

AreaDescription
Publish messageSend a topic, payload, QoS, and retain flag from the server plugin.
Topic statisticsView topics and subscription counts.
Client listView client ID, username, remote address, and connection time.
Kick clientDisconnect a selected MQTT client.

Kafka and RabbitMQ Debug

Kafka publish debug

RabbitMQ publish debug

TargetFieldsCheck when it fails
KafkaTopic, message content, publishBootstrap servers, security protocol, SASL settings, Topic permission, timeout.
RabbitMQRouting Key, message content, publishExchange, virtual host, queue binding, credentials, Routing Key, network.

Data Forwarding MQTT Target Drawer

MQTT target drawer

Field groupDescription
ConnectionIP, port, client ID, keep-alive, clean session, protocol version, connection type, WebSocket path.
TLSSSL enable flag, target host, client certificate, CA certificate, protocol, revocation checking.
AuthenticationUsername and password.
Publish defaultsQoS and retain flag.
Topic templatesDevice, variable, alarm, plugin event, RPC, and request topics.
JSON and upload modelJSON formatting, null handling, list/dictionary upload shape, custom script templates.
Cache and queueOffline cache, cache length, split size, queue count, online filter, concurrency.

Test Data Generation

"Test Data" is in the collection configuration page "more" menu. It generates test configuration and is not a debug entry.

Test data dialog

FieldDescription
Data typeNormal test data or DTU test data.
Variable countNumber of variables to generate for normal test data.
Device countNumber of devices to generate.
Slave addressSlave address or connection information for generated devices.
Enable data forwardingWhether to generate forwarding configuration together with normal test data.

Troubleshooting

SymptomSuggested action
Debug tab does not appearUse Device View and select a device, or select a data-forwarding target.
Unsupported debugThe selected plugin has no matching debug capability.
Foundation read failsCheck channel connection, device status, address format, data type, station, timeout, and logs.
Write failsCheck write permission, value format, field interlocks, RPC write options, and verification.
MQTT publish failsCheck Broker, port, TLS, credentials, Topic permission, QoS, and target/device logs.
Kafka publish failsCheck bootstrap servers, security protocol, authentication, Topic permission, and timeout.
RabbitMQ publish failsCheck exchange, routing key, virtual host, queue binding, credentials, and network.
Target debug is emptyThe target must be selected, enabled, and running. Disabled targets do not show debug pages.