---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Debug script definitions

# Debugging remote table script definitions {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

You can enable session debugging for remote table script definitions. To enable script
definition logging in a session debug log, set the
glide.script.vtable.log.debug property to true.
When you create remote table script definitions, you can use the `gs.debug()` command to add debug logs that are visible in the session debugger. The session debugger also contains debug logs with \[RemoteTable\] tags, each with the following information:

* Query definition
* Number of rows loaded in the remote table
* Number of aggregate rows `(if GlideAggregate)`
{#debugging-remote-table-scripts__ul_vjv_pkv_d3b}  
Prolonged use of the glide.script.vtable.log.debug property can affect performance, so it is best to set its value to false when you finish a debugging session.  
Hinweis:  
If you are not on the application node that processed your remote table script, you may not see the resulting log statements. In this case, contact Technical Support.

Use the v_query.setLastErrorMessage(message) API to set the last error
message that appears at the bottom of the list view. In script, you can retrieve this
message using the glideRecord.getLastErrorMessage() API. To learn more
about these APIs, see [Text-To-Display](https://www.servicenow.com/docs/access?context=c_GlideRecordScopedAPI&version=australia&pubname=australia-api-reference&ft:locale=en-US).
**Zugehörige Informationen**   

* [Available system properties](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=australia&pubname=australia-platform-administration&ft:locale=en-US)
* [Script Debugger and Session Logging](https://www.servicenow.com/docs/access?context=script-debugger&version=australia&pubname=australia-api-reference&ft:locale=en-US)

