---
sourceDocument: Xanadu Now Platform 기능
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - ko-KR

ft:publication_title :

    - Xanadu Now Platform 기능

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# 원격 테이블 스크립트 정의 디버깅

# 원격 테이블 스크립트 정의 디버깅 {#ariaid-title1}

* 릴리스 버전: Xanadu
* 
* 업데이트 날짜 2024년 08월 01일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 1분

원격 테이블 스크립트 정의에 세션 디버깅을 사용하도록 설정할 수 있습니다. 세션 디버그 로그에서 스크립트 정의 로깅을 사용하려면 속성을 true로 설정합니다glide.script.vtable.log.debug.
원격 테이블 스크립트 정의를 작성할 때 `gs.debug()` 명령을 사용하여 세션 디버거에 표시되는 디버그 로그를 추가할 수 있습니다. 세션 디버거에는 \[RemoteTable\] 태그가 있는 디버그 로그도 포함되어 있으며, 각 태그에는 다음 정보가 포함되어 있습니다.

* 쿼리 정의
* 원격 테이블에 로드된 행 수
* 집계 행 수 `(GlideAggregate인 경우)`
{#debugging-remote-table-scripts__ul_vjv_pkv_d3b}  
속성을 장기간 사용하면 성능에 glide.script.vtable.log.debug 영향을 줄 수 있으므로 디버깅 세션을 완료할 때 해당 값을 false 로 설정하는 것이 가장 좋습니다.  
주:  
원격 테이블 스크립트를 처리한 애플리케이션 노드에 있지 않은 경우 결과 로그 문을 볼 수 없습니다. 이 경우 기술 지원 부서에 문의하십시오.

v_query.setLastErrorMessage(message) API를 사용하여 목록 보기의 맨 아래에 표시되는 마지막 오류 메시지를 설정합니다. 스크립트에서 glideRecord.getLastErrorMessage() API를 사용하여 이 메시지를 검색할 수 있습니다. 이러한 API에 대한 자세한 내용은 [Text-To-Display](https://www.servicenow.com/docs/access?context=c_GlideRecordScopedAPI&version=xanadu&pubname=xanadu-api-reference&ft:locale=en-US)를 참조하세요.
**관련 정보**   

* [사용 가능한 시스템 속성](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=xanadu&pubname=xanadu-platform-administration&ft:locale=en-US)
* [스크립트 디버거 및 세션 로깅](https://www.servicenow.com/docs/access?context=script-debugger&version=xanadu&pubname=xanadu-application-development&ft:locale=en-US)

