{"id":17920,"date":"2023-01-05T09:33:32","date_gmt":"2023-01-05T09:33:32","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/server-guide\/customizations-and-extensions\/debugging-custom-scripts\/"},"modified":"2025-11-04T11:58:49","modified_gmt":"2025-11-04T02:58:49","slug":"debugging","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/server-guide\/customizations-and-extensions\/debugging\/","title":{"rendered":"\u30ab\u30b9\u30bf\u30e0 \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0"},"content":{"rendered":"<p>\u30ab\u30b9\u30bf\u30e0\u6b20\u9665\u30d7\u30e9\u30b0\u30a4\u30f3\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30ec\u30dd\u30fc\u30c8\u3092\u5b9f\u88c5\u3059\u308b\u969b\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30c4\u30fc\u30eb\u304b\u3089\u306e\u623b\u308a\u5024\u3092\u691c\u67fb\u3057\u305f\u308a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u30d5\u30ed\u30fc\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u3001TestRail \u7d44\u307f\u8fbc\u307f\u306e\u30ed\u30b0\u8a18\u9332\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002TestRail \u306e\u30ed\u30b0\u8a18\u9332\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001\u4e00\u6642\u7684\u306b<a href=\"\/troubleshooting\/torabuleshooting-server\/#TestRail\" target=\"_blank\" rel=\"noopener\">\u30c7\u30d0\u30c3\u30b0\u30e2\u30fc\u30c9<\/a>\u3092\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u4ee5\u4e0b\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066 TestRail \u306e\u30b7\u30b9\u30c6\u30e0 \u30ed\u30b0\u306b\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u901a\u5e38\u3001\u30b7\u30b9\u30c6\u30e0 \u30ed\u30b0\u306f TestRail \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e <strong>logs<\/strong> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 37.4286%;\">\u30e1\u30bd\u30c3\u30c9<\/th>\n<th style=\"width: 62.4286%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 37.4286%;\">logger::debug(string)<\/td>\n<td style=\"width: 62.4286%;\">\u5358\u7d14\u306a\u6587\u5b57\u5217\u307e\u305f\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30b7\u30b9\u30c6\u30e0 \u30ed\u30b0\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.4286%;\">logger::debugr(string,object)<\/td>\n<td style=\"width: 62.4286%;\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u3001\u914d\u5217\u3001\u307e\u305f\u306f\u5909\u6570\u3092\u30b7\u30b9\u30c6\u30e0 \u30ed\u30b0\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u5909\u6570\u306e\u5185\u5bb9\u3084\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30c4\u30fc\u30eb\u304b\u3089\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u691c\u67fb\u3059\u308b\u306e\u306b\u4fbf\u5229\u3067\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.4286%;\">logger::debugf(string,..)<\/td>\n<td style=\"width: 62.4286%;\">\u66f8\u5f0f\u6587\u5b57\u5217\u304a\u3088\u3073\u5f15\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u5f15\u6570\u306f {0}\u3001{1}\u3001{2} \u306e\u3088\u3046\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u30ab\u30b9\u30bf\u30e0\u6b20\u9665\u30d7\u30e9\u30b0\u30a4\u30f3\u307e\u305f\u306f\u30ab\u30b9\u30bf\u30e0\u30ec\u30dd\u30fc\u30c8\u3092\u5b9f\u88c5\u3059\u308b\u969b\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u30c4\u30fc\u30eb\u304b\u3089\u306e\u623b\u308a\u5024\u3092\u691c\u67fb\u3057\u305f\u308a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u30d5\u30ed\u30fc\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u3001TestRail \u7d44\u307f\u8fbc\u307f\u306e [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":6643,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-17920","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/17920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=17920"}],"version-history":[{"count":6,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/17920\/revisions"}],"predecessor-version":[{"id":30803,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/17920\/revisions\/30803"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/6643"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=17920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}