{"id":7868,"date":"2023-12-08T16:40:00","date_gmt":"2023-12-08T07:40:00","guid":{"rendered":"https:\/\/www.prime-strategy.co.jp\/column\/?p=7868"},"modified":"2026-02-17T01:41:27","modified_gmt":"2026-02-16T16:41:27","slug":"kusanagi%e3%81%a7xdebug%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a8%e3%82%88%e3%81%8f%e4%bd%bf%e3%81%86%e6%a9%9f%e8%83%bd%e3%82%92%e7%b4%b9%e4%bb%8b","status":"publish","type":"post","link":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868","title":{"rendered":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb"},"content":{"rendered":"\n<p>php\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3059\u308b\u4e0a\u3067\u3001xdebug\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30fc\u30c9\u3092\u89e3\u6790\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001kusanagi\u306bxdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3001\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308bxdebug\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">KUSANAGI\u74b0\u5883\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h1>\n\n\n\n<p>KUSANAGI\u74b0\u5883\u3078\u306exdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u975e\u5e38\u306b\u7c21\u5358\u3067\u3001pecl\u3092\u4f7f\u3063\u3066\u76f4\u63a5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306fphp8.1\u3092\u4f7f\u7528\u3057\u3066xdebug\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>1\uff0cphp devel\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/h5>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>dnf install kusanagi-php81-devel<\/code><\/pre><\/div>\n\n\n\n<p>gcc\u3001php-config\u3001\u305d\u306e\u4ed6\u306e\u95a2\u9023\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>2\uff0cxdebug<strong>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/strong><\/h5>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>pecl install xdebug<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3068\u3001\u9069\u5207\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306exdebug\u304c\u81ea\u52d5\u7684\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e00\u90e8\u5206\u7d50\u679c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Build complete.\nDon't forget to run 'make test'.\n\nrunning: make INSTALL_ROOT=\"\/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\" install\nMakefile:244: \u8b66\u544a: \u30bf\u30fc\u30b2\u30c3\u30c8 'test' \u306e\u305f\u3081\u306e\u30ec\u30b7\u30d4\u3092\u7f6e\u304d\u63db\u3048\u307e\u3059\nMakefile:136: \u8b66\u544a: \u30bf\u30fc\u30b2\u30c3\u30c8 'test' \u306e\u305f\u3081\u306e\u53e4\u3044\u30ec\u30b7\u30d4\u306f\u7121\u8996\u3055\u308c\u307e\u3059\nInstalling shared extensions:     \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\/\n\n  +----------------------------------------------------------------------+\n  |                                                                      |\n  |   INSTALLATION INSTRUCTIONS                                          |\n  |   =========================                                          |\n  |                                                                      |\n  |   See https:\/\/xdebug.org\/install.php#configure-php for instructions  |\n  |   on how to enable Xdebug for PHP.                                   |\n  |                                                                      |\n  |   Documentation is available online as well:                         |\n  |   - A list of all settings:  https:\/\/xdebug.org\/docs-settings.php    |\n  |   - A list of all functions: https:\/\/xdebug.org\/docs-functions.php   |\n  |   - Profiling instructions:  https:\/\/xdebug.org\/docs-profiling2.php  |\n  |   - Remote debugging:        https:\/\/xdebug.org\/docs-debugger.php    |\n  |                                                                      |\n  |                                                                      |\n  |   NOTE: Please disregard the message                                 |\n  |       You should add \"extension=xdebug.so\" to php.ini                |\n  |   that is emitted by the PECL installer. This does not work for      |\n  |   Xdebug.                                                            |\n  |                                                                      |\n  +----------------------------------------------------------------------+\n\n\nrunning: find \"\/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\" | xargs ls -dils\n   601608    0 drwxr-xr-x. 3 root root      17 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\n 25625976    0 drwxr-xr-x. 3 root root      22 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\n 36555662    0 drwxr-xr-x. 3 root root      21 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\n 65580440    0 drwxr-xr-x. 3 root root      19 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\n 71395686    0 drwxr-xr-x. 3 root root      24 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\/lib64\n 93535163    0 drwxr-xr-x. 3 root root      39 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\/lib64\/extensions\n100713551    0 drwxr-xr-x. 2 root root      23 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\n100713552 2768 -rwxr-xr-x. 1 root root 2831160 12\u6708  7 12:05 \/tmp\/pear\/temp\/pear-build-rootJkhTgK\/install-xdebug-3.3.0\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\/xdebug.so\n\nBuild process completed successfully\nInstalling '\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\/xdebug.so'\ninstall ok: channel:\/\/pecl.php.net\/xdebug-3.3.0\nconfiguration option \"php_ini\" is not set to php.ini location\nYou should add \"zend_extension=\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\/xdebug.so\" to php.ini<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>3\uff0cxdebug\u3092\u6709\u52b9\u306b\u3057\u307e\u3059<\/strong><\/h5>\n\n\n\n<p>\u4e0b\u8a18\u306e\u624b\u9806\u306b\u3088\u3063\u3066\u64cd\u4f5c\u3059\u308c\u3070\u3001\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cp \/opt\/kusanagi\/php-8.1\/lib64\/php\/doc\/xdebug\/xdebug.ini \/etc\/opt\/kusanagi\/php.d\/extensions\/xdebug.ini\necho &#39;zend_extension=\/opt\/kusanagi\/php-8.1\/lib64\/extensions\/no-debug-non-zts-20210902\/xdebug.so&#39; &gt;&gt; \/etc\/opt\/kusanagi\/php.d\/extensions\/xdebug.ini<\/code><\/pre><\/div>\n\n\n\n<p>\u6709\u52b9\u306b\u3057\u3066\u304b\u3089\u3001\"kusanagi php\"\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001php\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\"php -m |grep xdebug\"\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001xdebug\u3068\u3044\u3046\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u51fa\u305f\u3089\u6210\u529f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p><strong>KUSANAGI\u306e\u74b0\u5883\u3067xdebug\u3060\u3051\u3067\u306a\u304f\u3001\u4ed6\u306ephp\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u3082\u3053\u306e\u65b9\u6cd5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">xdebug\u306e\u3088\u304f\u4f7f\u3046\u6a5f\u80fd<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%98%E3%83%AB%E3%83%91%E3%83%BC%E9%96%A2%E6%95%B0\"><\/span>\u30d8\u30eb\u30d1\u30fc\u95a2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>xdebug\u306b\u306f\u69d8\u3005\u306a\u512a\u308c\u305f\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u91cd\u8981\u3060\u3068\u601d\u3046\u95a2\u6570\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>var_dump()<\/strong><\/h4>\n\n\n\n<p>\u5143\u306evar_dump\u95a2\u6570\u306e\u6a5f\u80fd\u5f37\u5316\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u4f8b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>$c = new stdClass;\n$c-&gt;foo = &#39;bar&#39;;\n$c-&gt;file = fopen( &#39;\/etc\/passwd&#39;, &#39;r&#39; );\nvar_dump(\n     array(\n         array(TRUE, 2, 3.14, &#39;foo&#39;),\n         &#39;object&#39; =&gt; $c\n     )\n );<\/code><\/pre><\/div>\n\n\n\n<p>\u8fd4\u3055\u308c\u308b\u7d50\u679c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"376\" height=\"177\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image.png\" alt=\"\" class=\"wp-image-7874\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image.png 376w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-300x141.png 300w\" sizes=\"auto, (max-width: 376px) 100vw, 376px\" \/><\/figure>\n\n\n\n<p>\u5143\u3005\u306evar_dump()\u3088\u308a\u3001\u60c5\u5831\u306f\u8c4a\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u8981\u7d20\u306e\u30bf\u30a4\u30d7\u3001\u914d\u5217\u306e\u9577\u3055\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5185\u5bb9\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>xdebug_get_function_stack() : array<\/strong><\/h4>\n\n\n\n<p>\u3053\u306e\u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4eca\u307e\u3067\u306e\u30b3\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3001\u5b9f\u884c\u6642\u9593\u306e\u5272\u5408\u3001\u95a2\u6570\u540d\u3001\u30e1\u30e2\u30ea\u30fc\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306a\u3069\u60c5\u5831\u304c\u898b\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u4f8b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function b(){\n    a();\n}\nfunction a(){\n \n    var_dump(xdebug_get_function_stack());\n}\nb();<\/code><\/pre><\/div>\n\n\n\n<p>\u8fd4\u3055\u308c\u308b\u7d50\u679c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"428\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-1.png\" alt=\"\" class=\"wp-image-7875\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-1.png 585w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-1-300x219.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>xdebug_get_headers()&nbsp;: array<\/strong><\/h4>\n\n\n\n<p>PHP \u306e header()\u3002setcookie() \u95a2\u6570\u306e\u30b3\u30fc\u30eb\u306b\u3088\u3063\u3066\u8a2d\u5b9a\u3055\u308c\u305f\u30d8\u30c3\u30c0\u3092\u3059\u3079\u3066\u8fd4\u3057\u307e\u3059\u3002HTTP header\u306e\u30c7\u30fc\u30bf\u30fc\u3092\u691c\u67fb\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u4f8b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>header( &quot;X-Test&quot;, &quot;Testing&quot; );\nsetcookie( &quot;TestCookie&quot;, &quot;test-value&quot; );\nvar_dump( xdebug_get_headers() );<\/code><\/pre><\/div>\n\n\n\n<p>\u8fd4\u3055\u308c\u308b\u7d50\u679c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"435\" height=\"62\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-2.png\" alt=\"\" class=\"wp-image-7876\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-2.png 435w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-2-300x43.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>xdebug_get_monitored_functions()&nbsp;: array<\/strong><\/h4>\n\n\n\n<p>\u76e3\u8996\u5bfe\u8c61\u306e\u95a2\u6570\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5229\u7528\u4f8b<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>xdebug_start_function_monitor( [ &#39;strrev&#39;, &#39;array_push&#39; ] );\n\necho strrev(&quot;yes!&quot;), &quot;\\n&quot;;\n\necho strrev(&quot;yes!&quot;), &quot;\\n&quot;;\n\nvar_dump(xdebug_get_monitored_functions());\nxdebug_stop_function_monitor();<\/code><\/pre><\/div>\n\n\n\n<p>\u8fd4\u3055\u308c\u308b\u7d50\u679c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"210\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-3.png\" alt=\"\" class=\"wp-image-7877\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-3.png 601w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-3-300x105.png 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/figure>\n\n\n\n<p>xdebug\u306b\u306f\u591a\u304f\u306e\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u4f7f\u3044\u65b9\u306f\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/xdebug.org\/docs\/develop\">https:\/\/xdebug.org\/docs\/develop<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E3%83%97%E3%83%AD%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AA%E3%83%B3%E3%82%B0\"><\/span>\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>xdebug\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30e9\u306b\u3088\u308a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u898b\u3064\u3051\u3001KCacheGrind\u306e\u3088\u3046\u306a\u5916\u90e8\u30c4\u30fc\u30eb\u3067\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306fxdebug\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306e\u4f7f\u7528\u4f8b\u3067\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1\uff0c\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059<\/strong><\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code># xdebug\u306e\u30e2\u30fc\u30c9\u304c\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u66f4\nxdebug.mode=profile\n# \u30c8\u30ea\u30ac\u30fc\u30e2\u30fc\u30c9\u3067\u306e\u6a5f\u80fd\u8d77\u52d5\nxdebug.start_with_request=trigger\n# \u30c8\u30ea\u30ac\u30fc\u306e\u30d0\u30ea\u30e5\u30fc\nxdebug.trigger_value=tigger_now\n# profile\u30d5\u30a1\u30a4\u30eb\u306e\u683c\u7d0d\u5834\u6240\nxdebug.output_dir=\/tmp<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3092\/etc\/opt\/kusanagi\/php.d\/extensions\/xdebug.ini\u306b\u8ffd\u52a0\u3059\u308b\u3068\u3001\u6a5f\u80fd\u306f\u6709\u52b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2\uff0c\u9045\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4f8b\u304c\u3042\u308a\u307e\u3059<\/strong><\/h4>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>test.php\n&lt;?php\nrequire_once &#39;test2.php&#39;;\nd();<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>test2.php\n&lt;?php\nfunction d(){\n    sleep(3);\n    c();\n}\nfunction c(){\n    sleep(3);\n    echo &#39;c()&#39;;\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>3\uff0cprofile\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210<\/strong><\/h4>\n\n\n\n<p>test.php\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u898b\u3064\u3051\u305f\u3044\u6642\uff0cXDEBUG_TRIGGER\u304cGET\u3067\u8a2d\u5b9a\u3055\u308c\u308b\u3068\u3001xdebug\u306f\u305d\u306e\u6a5f\u80fd\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"173\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-4.png\" alt=\"\" class=\"wp-image-7880\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-4.png 643w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-4-300x81.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p>\/tmp\u30d5\u30a3\u30eb\u30c0\u30fc\u306b\u3001cachegrind.out.***\u306e\u3088\u3046\u306aprofile\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u4e2d\u306f\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u306e\u60c5\u5831\u3092\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"180\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-5.png\" alt=\"\" class=\"wp-image-7881\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-5.png 712w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-5-300x76.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff14\uff0c\u53ef\u8996\u5316<\/strong><\/h4>\n\n\n\n<p><strong>\u53ef\u8996\u5316<\/strong>\u306b\u306a\u308b\u3068\u304d\u3001<a href=\"http:\/\/sourceforge.net\/projects\/qcachegrindwin\/\">QCacheGrind<\/a>\u3068\u3044\u3046\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u304c\u5fc5\u8981\u3067\u3059\u3002\u4e0b\u8a18\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9URL\u3067\u3059\u3002<\/p>\n\n\n\n<p>http:\/\/sourceforge.net\/projects\/qcachegrindwin\/<\/p>\n\n\n\n<p>QCacheGrind\u3067profile\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f\u3068\u3001\u30b3\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3001\u5b9f\u884c\u6642\u9593\u306e\u5272\u5408\u3001\u95a2\u6570\u540d\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306a\u3069\u3044\u308d\u3093\u306a\u60c5\u5831\u304c\u898b\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"718\" src=\"https:\/\/www.prime-strategy.co.jp\/column\/wp-content\/uploads\/2023\/12\/image-6.png\" alt=\"\" class=\"wp-image-7882\" srcset=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-6.png 852w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-6-300x253.png 300w, https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/image-6-768x647.png 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<p>profile\u306b\u3088\u3063\u3066\u3001sleep\u3068\u3044\u3046\u95a2\u6570\u304c\u9045\u3044\u306e\u306f\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">\u6700\u5f8c<\/h1>\n\n\n\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u6027\u80fd\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u304c\u3042\u308b\u6642\u3001xdebug\u306f\u3044\u3044\u6027\u80fd\u5206\u6790\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<p><strong>\u53c2\u8003<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/xdebug.org\/\">https:\/\/xdebug.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>php\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3059\u308b\u4e0a\u3067\u3001xdebug\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30fc\u30c9\u3092\u89e3\u6790\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001kusanagi\u306bxdebug ... <a title=\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb\" class=\"read-more\" href=\"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868\" aria-label=\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb \u306b\u3064\u3044\u3066\u3055\u3089\u306b\u8aad\u3080\">Read more<\/a><\/p>\n","protected":false},"author":35,"featured_media":7939,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[15],"tags":[110],"series":[67],"journey":[98],"product":[105],"class_list":["post-7868","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-technical-guides","series-engineer-blog","journey-build","product-kusanagi","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33","no-featured-image-padding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column<\/title>\n<meta name=\"description\" content=\"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column\" \/>\n<meta property=\"og:description\" content=\"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868\" \/>\n<meta property=\"og:site_name\" content=\"KUSANAGI Tech Column\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-08T07:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-16T16:41:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1300\" \/>\n\t<meta property=\"og:image:height\" content=\"660\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u738b\u6587\u6681\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@kusanagi_saya\" \/>\n<meta name=\"twitter:site\" content=\"@kusanagi_saya\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868\"},\"author\":{\"name\":\"\u738b\u6587\u6681\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#\\\/schema\\\/person\\\/f2f9dce3891176242c57b08076a34b82\"},\"headline\":\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb\",\"datePublished\":\"2023-12-08T07:40:00+00:00\",\"dateModified\":\"2026-02-16T16:41:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868\"},\"wordCount\":104,\"publisher\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Slide13.jpg\",\"keywords\":[\"\u6280\u8853\u89e3\u8aac\"],\"articleSection\":[\"PHP\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868\",\"name\":\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Slide13.jpg\",\"datePublished\":\"2023-12-08T07:40:00+00:00\",\"dateModified\":\"2026-02-16T16:41:27+00:00\",\"description\":\"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#primaryimage\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Slide13.jpg\",\"contentUrl\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/Slide13.jpg\",\"width\":1300,\"height\":660},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_7868#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#website\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/\",\"name\":\"KUSANAGI Tech Column\",\"description\":\"\u901f\u3055\u306e\u7406\u7531\u3092\u77e5\u308b\u3002\u5b89\u5168\u306e\u4ed5\u7d44\u307f\u3092\u77e5\u308b\u3002WordPress\u904b\u7528\u306e\u300c\u306a\u305c\uff1f\u300d\u3092\u89e3\u304f\u6280\u8853\u30b3\u30e9\u30e0\",\"publisher\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#organization\",\"name\":\"KUSANAGI Tech Column\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/logo-tc.png\",\"contentUrl\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/logo-tc.png\",\"width\":716,\"height\":57,\"caption\":\"KUSANAGI Tech Column\"},\"image\":{\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/kusanagi_saya\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/#\\\/schema\\\/person\\\/f2f9dce3891176242c57b08076a34b82\",\"name\":\"\u738b\u6587\u6681\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g\",\"caption\":\"\u738b\u6587\u6681\"},\"description\":\"\u738b\u6587\u6681\u3068\u7533\u3057\u307e\u3059\uff0c\u51fa\u8eab\u306f\u4e2d\u56fd\u306e\u7159\u53f0\u3067\u3059\uff0c2018\u5e74\u306b\u5927\u5b66\u304b\u3089\u5352\u696d\u3057\u3066\u5c02\u653b\u306f\u30c7\u30b8\u30bf\u30eb\u30e1\u30c7\u30a3\u30a2\u6280\u8853\u3067\u3059\uff0c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u306e\u6280\u8853\u306b\u8208\u5473\u304c\u3042\u308a\u307e\u3059\uff0c\u5143ByteDance\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3059\uff0c\u30d7\u30e9\u30a4\u30e0\u30fb\u30b9\u30c8\u30e9\u30c6\u30b8\u30fc\u306e\u304a\u5ba2\u69d8\u306e\u8ab2\u984c\u3092\u826f\u3044\u65b9\u6848\u3067\u89e3\u6c7a\u3057\u307e\u3059\",\"url\":\"https:\\\/\\\/kusanagi.tokyo\\\/column\\\/archives\\\/column_author\\\/obunsho\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column","description":"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868","og_locale":"ja_JP","og_type":"article","og_title":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column","og_description":"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002","og_url":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868","og_site_name":"KUSANAGI Tech Column","article_published_time":"2023-12-08T07:40:00+00:00","article_modified_time":"2026-02-16T16:41:27+00:00","og_image":[{"width":1300,"height":660,"url":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg","type":"image\/jpeg"}],"author":"\u738b\u6587\u6681","twitter_card":"summary_large_image","twitter_creator":"@kusanagi_saya","twitter_site":"@kusanagi_saya","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#article","isPartOf":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868"},"author":{"name":"\u738b\u6587\u6681","@id":"https:\/\/kusanagi.tokyo\/column\/#\/schema\/person\/f2f9dce3891176242c57b08076a34b82"},"headline":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb","datePublished":"2023-12-08T07:40:00+00:00","dateModified":"2026-02-16T16:41:27+00:00","mainEntityOfPage":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868"},"wordCount":104,"publisher":{"@id":"https:\/\/kusanagi.tokyo\/column\/#organization"},"image":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#primaryimage"},"thumbnailUrl":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg","keywords":["\u6280\u8853\u89e3\u8aac"],"articleSection":["PHP"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868","url":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868","name":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb - KUSANAGI Tech Column","isPartOf":{"@id":"https:\/\/kusanagi.tokyo\/column\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#primaryimage"},"image":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#primaryimage"},"thumbnailUrl":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg","datePublished":"2023-12-08T07:40:00+00:00","dateModified":"2026-02-16T16:41:27+00:00","description":"KUSANAGI\u74b0\u5883\u3067\u306eXdebug\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068PHP\u958b\u767a\u3092\u5f37\u5316\u3059\u308b\u30d8\u30eb\u30d1\u30fc\u95a2\u6570\u3084\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u95a2\u3059\u308b\u4f7f\u3044\u65b9\u3092\u8a73\u7d30\u306b\u89e3\u8aac\u3002\u958b\u767a\u8005\u306e\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u3092\u52b9\u7387\u5316\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kusanagi.tokyo\/column\/archives\/column_7868"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#primaryimage","url":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg","contentUrl":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2023\/12\/Slide13.jpg","width":1300,"height":660},{"@type":"BreadcrumbList","@id":"https:\/\/kusanagi.tokyo\/column\/archives\/column_7868#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/kusanagi.tokyo\/column"},{"@type":"ListItem","position":2,"name":"KUSANAGI\u3067xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u3088\u304f\u4f7f\u3046\u6a5f\u80fd\u3092\u7d39\u4ecb"}]},{"@type":"WebSite","@id":"https:\/\/kusanagi.tokyo\/column\/#website","url":"https:\/\/kusanagi.tokyo\/column\/","name":"KUSANAGI Tech Column","description":"\u901f\u3055\u306e\u7406\u7531\u3092\u77e5\u308b\u3002\u5b89\u5168\u306e\u4ed5\u7d44\u307f\u3092\u77e5\u308b\u3002WordPress\u904b\u7528\u306e\u300c\u306a\u305c\uff1f\u300d\u3092\u89e3\u304f\u6280\u8853\u30b3\u30e9\u30e0","publisher":{"@id":"https:\/\/kusanagi.tokyo\/column\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kusanagi.tokyo\/column\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kusanagi.tokyo\/column\/#organization","name":"KUSANAGI Tech Column","url":"https:\/\/kusanagi.tokyo\/column\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kusanagi.tokyo\/column\/#\/schema\/logo\/image\/","url":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2024\/07\/logo-tc.png","contentUrl":"https:\/\/kusanagi.tokyo\/column\/wp-content\/uploads\/2024\/07\/logo-tc.png","width":716,"height":57,"caption":"KUSANAGI Tech Column"},"image":{"@id":"https:\/\/kusanagi.tokyo\/column\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/kusanagi_saya"]},{"@type":"Person","@id":"https:\/\/kusanagi.tokyo\/column\/#\/schema\/person\/f2f9dce3891176242c57b08076a34b82","name":"\u738b\u6587\u6681","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a36a9328cab50e60e25478a764bc1fe3dfe72b2a1c95f84b86b27b7d174a3505?s=96&d=mm&r=g","caption":"\u738b\u6587\u6681"},"description":"\u738b\u6587\u6681\u3068\u7533\u3057\u307e\u3059\uff0c\u51fa\u8eab\u306f\u4e2d\u56fd\u306e\u7159\u53f0\u3067\u3059\uff0c2018\u5e74\u306b\u5927\u5b66\u304b\u3089\u5352\u696d\u3057\u3066\u5c02\u653b\u306f\u30c7\u30b8\u30bf\u30eb\u30e1\u30c7\u30a3\u30a2\u6280\u8853\u3067\u3059\uff0c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u306e\u6280\u8853\u306b\u8208\u5473\u304c\u3042\u308a\u307e\u3059\uff0c\u5143ByteDance\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3059\uff0c\u30d7\u30e9\u30a4\u30e0\u30fb\u30b9\u30c8\u30e9\u30c6\u30b8\u30fc\u306e\u304a\u5ba2\u69d8\u306e\u8ab2\u984c\u3092\u826f\u3044\u65b9\u6848\u3067\u89e3\u6c7a\u3057\u307e\u3059","url":"https:\/\/kusanagi.tokyo\/column\/archives\/column_author\/obunsho"}]}},"_links":{"self":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts\/7868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/comments?post=7868"}],"version-history":[{"count":26,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts\/7868\/revisions"}],"predecessor-version":[{"id":7936,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/posts\/7868\/revisions\/7936"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/media\/7939"}],"wp:attachment":[{"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/media?parent=7868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/categories?post=7868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/tags?post=7868"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/series?post=7868"},{"taxonomy":"journey","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/journey?post=7868"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/kusanagi.tokyo\/column\/wp-json\/wp\/v2\/product?post=7868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}