{"id":37956,"date":"2022-10-13T16:00:10","date_gmt":"2022-10-13T07:00:10","guid":{"rendered":"https:\/\/kinqsta.com\/jp\/?p=37956&#038;preview=true&#038;preview_id=37956"},"modified":"2024-09-17T22:13:15","modified_gmt":"2024-09-17T13:13:15","slug":"xdebug","status":"publish","type":"post","link":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/","title":{"rendered":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9"},"content":{"rendered":"<p>\u958b\u767a\u8005\u306a\u3089\u8ab0\u3067\u3082\u7d4c\u9a13\u3059\u308b\u3053\u3068\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u306b\u4fee\u6b63\u3068\u3084\u308a\u76f4\u3057\u306f\u4ed8\u304d\u3082\u306e\u3067\u3059\u3002\u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306b\u306f\u30c7\u30d0\u30c3\u30b0\u304c\u6b20\u304b\u305b\u305a\u3001\u52d5\u4f5c\u306e\u7591\u308f\u3057\u3044\u30b3\u30fc\u30c9\u306b\u306f\u4f55\u5ea6\u3082\u624b\u3092\u52a0\u3048\u3066\u3044\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30c9\u306e\u30d0\u30b0\u3092\u53d6\u308a\u9664\u304f\u306e\u306b\u6709\u7528\u306a\u306e\u304c\u3001PHP\u306eXdebug\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>Xdebug\u306e\u3059\u3070\u3089\u3057\u3044\u70b9\u306e\u3072\u3068\u3064\u306f\u3001\u305d\u306e\u67d4\u8edf\u6027\u3067\u3059\u3002\u597d\u307f\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084\u958b\u767a\u74b0\u5883\u306b\u95a2\u4fc2\u306a\u304f\u3001\u81ea\u5206\u306e\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u5408\u3063\u305fXdebug\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Xdebug\u3092\u4f7f\u3044\u3053\u306a\u3059\u306e\u306b\u305d\u308c\u307b\u3069\u6642\u9593\u306f\u304b\u304b\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3078\u306e\u7d44\u307f\u8fbc\u307f\u3001\u305d\u3057\u3066\u4e00\u822c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Xdebug\u3068\u306f\u4f55\u306a\u306e\u304b\u3001\u3069\u3093\u306a\u5f79\u5272\u3092\u679c\u305f\u3059\u306e\u304b\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>Xdebug\u3068\u306f<\/h2>\n<p><a href=\"https:\/\/xdebug.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xdebug<\/a>\u306f\u3001PHP\u30b3\u30fc\u30c9\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u4f7f\u3048\u308b\u4eba\u6c17\u306e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002\u9078\u629e\u3057\u305f\u74b0\u5883\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30b9\u30c6\u30c3\u30d7\u30c7\u30d0\u30c3\u30ac\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133040\" aria-describedby=\"caption-attachment-133040\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133040 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/xdebug.png\" alt=\"Xdebug\u306e\u30ed\u30b4\" width=\"1000\" height=\"187\"><figcaption id=\"caption-attachment-133040\" class=\"wp-caption-text\">Xdebug\u306e\u30ed\u30b4<\/figcaption><\/figure>\n<p>\u8981\u3059\u308b\u306b\u3001\u30b3\u30fc\u30c9\u3092\u4e00\u884c\u305a\u3064\u51e6\u7406\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u30b3\u30fc\u30c9\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067\u3069\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3057\u3001\u76f8\u4e92\u4f5c\u7528\u3059\u308b\u304b\u3001\u307e\u305f\u305d\u306e\u51fa\u529b\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u8abf\u67fb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u60c5\u5831\u306b\u57fa\u3065\u3044\u3066\u3001\u9069\u5b9c\u5909\u66f4\u3092\u52a0\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Xdebug\u3067\u306f\u3082\u3063\u3068\u591a\u304f\u306e\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u4e00\u9023\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u3068\u53ef\u8996\u5316\u6a5f\u80fd\u3092\u4f7f\u3044\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/application-performance-monitoring\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b3\u30fc\u30c9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/a>\u3092\u5206\u6790\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/li>\n<li>PHP\u306e\u5358\u4f53\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306b\u3001\u30b3\u30fc\u30c9\u306e\u90e8\u4f4d\u3092\u78ba\u8a8d\u3067\u304d\u308b<\/li>\n<li>Xdebug\u306b\u306f\u30c8\u30ec\u30fc\u30b9\u6a5f\u80fd\u304c\u3042\u308a\u3001\u3059\u3079\u3066\u306e\u95a2\u6570\u30b3\u30fc\u30eb\u3092\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\uff08\u3053\u308c\u306b\u306f\u3001\u5f15\u6570\u3001\u5909\u6570\u306e\u4ee3\u5165\u3001\u623b\u308a\u5024\u306a\u3069\u304c\u542b\u307e\u308c\u308b\uff09<\/li>\n<li>Xdebug\u306f\u3001\u6a19\u6e96\u7684\u306aPHP\u306e\u30a8\u30e9\u30fc\u5831\u544a\u306b\u3082\u6539\u826f\u3092\u52a0\u3048\u308b\uff08\u5f8c\u3067\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\uff09<\/li>\n<\/ul>\n<p>\u5404\u7a2e\u6a5f\u80fd\u3092\u99c6\u4f7f\u3057\u3066\u3001Xdebug\uff08\u305d\u3057\u3066\u540c\u69d8\u306e\u30c7\u30d0\u30c3\u30ac\uff09\u3092\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u3042\u308f\u305b\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u305d\u306e\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n<h2>Xdebug\u3092\u4f7f\u3046\u7406\u7531<\/h2>\n<p>\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e\u30c4\u30fc\u30eb\u3084\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u5c02\u7528\u306e\u30c7\u30d0\u30c3\u30b0\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u6301\u3064\u958b\u767a\u8005\u306f\u3001\u305d\u3053\u307e\u3067\u591a\u304f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u3068\u8a00\u3046\u306e\u3082\u3001PHP\u306b\u306f\u57fa\u672c\u7684\u306a\u30a8\u30e9\u30fc\u30ed\u30ae\u30f3\u30b0\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u5909\u6570\u3084\u95a2\u6570\u306e\u547c\u3073\u51fa\u3057\u306e\u7d50\u679c\u3092\u898b\u308b\u306b\u306f\u3001<code>error_log<\/code>\u3001<code>var_dump<\/code>\u3001print\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001WordPress\u306e\u958b\u767a\u6642\u306b\u7e70\u308a\u8fd4\u3057\u4f7f\u3048\u308b\u30b9\u30cb\u30da\u30c3\u30c8\u306f\u30cd\u30c3\u30c8\u4e0a\u306b\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002<a href=\"https:\/\/stackoverflow.com\/questions\/15085482\/wordpress-debugging\">Stack Overflow\u304c\u305d\u306e\u826f\u3044\u4f8b<\/a>\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function log_me($message) {\n  if ( WP_DEBUG === true ) {\n      if ( is_array($message) || is_object($message) ) {\n          error_log( print_r($message, true) );\n      } else {\n           error_log( $message );\n      }\n  }\n}<\/code><\/pre>\n<p>\u3057\u304b\u3057\u3001\u3053\u306e\u65b9\u6cd5\u306b\u306f\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6b20\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u307e\u305a\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u6709\u52b9\u306b\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001<code>WP_DEBUG<\/code>\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\uff08\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u3001\u5f8c\u307b\u3069\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\uff09\u3002<\/li>\n<li>\u3053\u306e\u300c\u30c0\u30f3\u30d7\u300d\u30c7\u30d0\u30c3\u30b0\u306e\u4f8b\u3067\u306f\u3001\u30b9\u30c6\u30c3\u30d7\u5b9f\u884c\u306b\u3088\u308b\u30c7\u30d0\u30c3\u30b0\u3088\u308a\u3082\u8abf\u67fb\u7bc4\u56f2\u304c\u72ed\u304f\u306a\u308a\u307e\u3059\u3002\u306f\u3063\u304d\u308a\u3068\u5b9a\u7fa9\u3057\u305f\u3082\u306e\u3057\u304b\u51fa\u529b\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<p>\u5f8c\u8005\u306f\u3001\u7279\u306b\u672c\u8077\u304c<a href=\"https:\/\/kinqsta.com\/jp\/blog\/sysadmin\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005<\/a>\u3067\u306a\u3044\u5834\u5408\u3001\u591a\u304f\u306e\u4f5c\u696d\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u3042\u308b\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3092\u30c7\u30d0\u30c3\u30b0\u3057\u305f\u3044\u5834\u5408\u3001\u81ea\u5206\u3067\u5b9a\u7fa9\u3057\u305f\u5909\u6570\u306b\u57fa\u3065\u3044\u3066\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u72d9\u3044\u3092\u5b9a\u3081\u305f\u3082\u306e\u304c\u554f\u984c\u306e\u539f\u56e0\u3067\u306f\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u5168\u304f\u306e\u898b\u5f53\u9055\u3044\u3068\u3044\u3046\u3053\u3068\u3082\u3042\u308a\u5f97\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4ee3\u308f\u308a\u306bXdebug\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u3088\u308a\u5927\u304d\u306a\u7bc4\u56f2\u3092\u5bfe\u8c61\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u5b9f\u884c\u4e2d\u306e\u3055\u307e\u3056\u307e\u306a\u5730\u70b9\u3067\u30b3\u30fc\u30c9\u3092\u300c\u5206\u5272\u300d\u3059\u308b\u3053\u3068\u3067\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u4f55\u304c\u8d77\u3053\u3063\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u308b<\/li>\n<li>\u30b3\u30fc\u30c9\u304c\u4f55\u3092\u3057\u3066\u3044\u308b\u304b\u3001\u3069\u306e\u3088\u3046\u306b\u53cd\u5fdc\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u7121\u6570\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u3001\u8996\u899a\u5316\u3001\u30d6\u30e9\u30f3\u30c1\u306a\u3069\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b<\/li>\n<li>\u6642\u306b\u306f\u3001\u30c7\u30d0\u30c3\u30b0\u4e2d\u306b\u305d\u306e\u5834\u3067\u5024\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\uff08\u6a5f\u80fd\u3057\u3066\u3044\u308b\u30b3\u30fc\u30c9\u3067\u3042\u3063\u3066\u3082\u3001\u975e\u5e38\u306b\u5927\u304d\u306a\u4fa1\u5024\u3092\u3082\u305f\u3089\u3059\u3082\u306e\u3067\u3001\u57fa\u672c\u7684\u306b\u306f\u3044\u3064\u3067\u3082\u624b\u52d5\u3067\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u5b9f\u65bd\u53ef\uff09<\/li>\n<li>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u9818\u57df\u3092\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u3059\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u5185\u306e\u30b9\u30cb\u30da\u30c3\u30c8\u3067\u4f5c\u696d\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\uff08\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u304c\u30af\u30ea\u30fc\u30f3\u306b\u4fdd\u305f\u308c\u3001\u305d\u306e\u5f8c\u306b\u767a\u751f\u3057\u5f97\u308b\u554f\u984c\u306e\u6570\u3092\u6e1b\u3089\u3059\u3053\u3068\u304c\u3067\u304d\u308b\uff09<\/li>\n<\/ul>\n<p>\u7dcf\u3058\u3066\u3001Xdebug\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u306e\u4f7f\u7528\u306f\u3001\u53d7\u52d5\u7684\u3068\u3044\u3046\u3088\u308a\u3080\u3057\u308d\u7a4d\u6975\u7684\u306a\u3082\u306e\u3067\u3059\u3002\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\uff08TDD\uff09 \u306e\u4e00\u74b0\u3068\u3057\u3066\u5358\u4f53\u30c6\u30b9\u30c8\u3092\u5b9f\u88c5\u3059\u308b\u306e\u3068\u540c\u3058\u3088\u3046\u306b\u3001 \u958b\u767a\u30d7\u30ed\u30bb\u30b9\u306e\u4e2d\u6838\u3068\u3057\u3066\u30b9\u30c6\u30c3\u30d7\u30c7\u30d0\u30c3\u30b0\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>PHP\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u6709\u52b9\u306b\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u7279\u5b9a\u306e\u30a8\u30e9\u30fc\u304c\u306a\u304f\u3066\u3082\u30b3\u30fc\u30c9\u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u3001 Xdebug\u3092\u958b\u304b\u305a\u306b\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u308c\u3070\u3001\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002\u3053\u308c\u304c\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/debugging-wordpress-performance\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3088\u308a\u8a73\u3057\u3044\u8abf\u67fb\u3092\u884c\u3046\u305f\u3081\u306e\u51fa\u767a\u70b9<\/a>\u3068\u306a\u308a\u307e\u3059\u3002\u53b3\u5bc6\u306b\u306f\u5fc5\u9808\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u77e5\u3063\u3066\u304a\u3044\u3066\u640d\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u767a\u751f\u3057\u305f\u3059\u3079\u3066\u306e\u30a8\u30e9\u30fc\u304c\u5831\u544a\u3055\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001\u95a2\u9023\u3059\u308bPHP\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u306b\u6b21\u306e\u4e00\u884c\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">error_reporting(E_ALL);<\/code><\/pre>\n<p>\u3053\u308c\u306f\u30ad\u30e3\u30c3\u30c1\u30aa\u30fc\u30eb\u30b3\u30de\u30f3\u30c9\u3067\u3042\u308a\u3001\u6b21\u306e\u3088\u3046\u306b<code><a href=\"https:\/\/www.php.net\/manual\/en\/function.ini-set.php\">ini_set<\/a><\/code>\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">ini_set('error_reporting', E_ALL);<\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306b<strong>php.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u624b\u52d5\u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001<code>ini_set<\/code>\u3092\u4f7f\u3063\u3066\u7279\u5b9a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4\u3059\u308b\u65b9\u304c\u4e00\u822c\u7684\u306b\u597d\u90fd\u5408\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">ini_set('display_errors', '1');<\/code><\/pre>\n<p>\u30a8\u30e9\u30fc\u30ec\u30dd\u30fc\u30c8\u3092\u597d\u307f\u306e\u8a2d\u5b9a\u306b\u3057\u305f\u3089\u3001Xdebug\u3092\u4f7f\u3063\u3066\u4f5c\u696d\u3092\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Xdebug\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u308c\u304b\u3089\u4f55\u56de\u304b\u306b\u5206\u3051\u3066\u3001Xdebug\u306e\u4f7f\u3044\u65b9\u3068\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u5fc5\u8981\u306a\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u30c4\u30fc\u30eb\u306e\u5168\u3066\u3092\u8aac\u660e\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u304c\u3001\u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\u30ac\u30a4\u30c9\u3068\u3057\u3066\u3001\u5229\u7528\u958b\u59cb\u306e\u624b\u52a9\u3051\u306b\u306f\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305a\u3001Xdebug\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u305d\u306e\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>1. \u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\uff08OS\uff09\u306bXdebug\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p>Xdebug\u306f\u69d8\u3005\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u305e\u308c\u3067<a href=\"https:\/\/xdebug.org\/docs\/install\">\u6b63\u78ba\u306a<\/a>\u624b\u9806\u304c\u82e5\u5e72\u7570\u306a\u308a\u307e\u3059\u3002OS\u30ec\u30d9\u30eb\u3067\u306f\u3001\u3044\u304f\u3064\u304b\u306e\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>Windows\u306e\u5834\u5408<\/strong>\uff1a\u65e2\u5b58\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3068<a href=\"https:\/\/xdebug.org\/wizard\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30a6\u30a3\u30b6\u30fc\u30c9<\/a>\u3092\u4f7f\u7528\u3057\u3001\u30b7\u30b9\u30c6\u30e0\u306b\u9069\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3044\u3046\u3001\u3084\u3084\u8907\u96d1\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30d7\u30ed\u30bb\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<li><strong>Linux\u306e\u5834\u5408<\/strong>\uff1a\u3053\u306e\u65b9\u6cd5\u306f\u975e\u5e38\u306b\u7c21\u5358\u3067\u3059\u3002<a href=\"https:\/\/xdebug.org\/docs\/install#linux\">\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3001Xdebug\u3084<a href=\"https:\/\/xdebug.org\/docs\/install#pecl\">PHP Extension Community Library (PECL)<\/a>\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>Mac\u306e\u5834\u5408<\/strong>\uff1a\u3053\u3061\u3089\u3082\u307e\u305f\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002PECL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304b\u3089<code>pecl install xdebug<\/code>\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u307e\u305f\u3001XCode\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3068PHP\u304c\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3057\u304b\u3057\u3001\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u3001\u30b7\u30b9\u30c6\u30e0\u30ec\u30d9\u30eb\u3067\u306eXdebug\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u56fa\u57f7\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u4ee3\u308f\u308a\u306b\u3001\u81ea\u8eab\u306e\u7279\u5b9a\u306e\u958b\u767a\u74b0\u5883\u306b\u7d71\u5408\u3059\u308b\u65b9\u304c\u7406\u306b\u9069\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>2. \u958b\u767a\u74b0\u5883\u306bXdebug\u3092\u7d71\u5408\u3059\u308b<\/h3>\n<p>Xdebug\u3092OS\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u5b9f\u969b\u306e\u74b0\u5883\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u975e\u5e38\u306b\u591a\u304f\u306e\u5bfe\u5fdc\u30b7\u30b9\u30c6\u30e0\u3084\u30c4\u30fc\u30eb\u304c\u3042\u308a\u3001\u305d\u306e\u3059\u3079\u3066\u3092\u7d39\u4ecb\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u5f8c\u307b\u3069\u3001<a href=\"https:\/\/kinqsta.com\/jp\/devkinsta\/\" target=\"_blank\" rel=\"noopener noreferrer\">DevKinsta<\/a>\u3068<a href=\"https:\/\/www.jetbrains.com\/phpstorm\/\" target=\"_blank\" rel=\"noopener noreferrer\">PhpStorm<\/a>\u306e\u4e21\u65b9\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u3057\u307e\u3059\u3002\u3068\u306f\u8a00\u3048\u3001\u4ed6\u306b\u3082\u4eba\u6c17\u306e\u74b0\u5883\u306f\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u3001\u3044\u304f\u3064\u304b\u512a\u308c\u305f\u9078\u629e\u80a2\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>Varying Vagrant Vagrants\uff08VVV\uff09<\/h4>\n<p><a href=\"https:\/\/varyingvagrantvagrants.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">VVV<\/a>\u306f<a href=\"https:\/\/make.wordpress.org\/core\/handbook\/tutorials\/installing-a-local-server\/installing-vvv\/\" target=\"_blank\" rel=\"noopener noreferrer\">Make WordPress\u306e\u30b5\u30a4\u30c8<\/a>\u3067\u540d\u524d\u304c\u6319\u304c\u3063\u3066\u3044\u308b\u74b0\u5883\u306e\u4e00\u3064\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_133039\" aria-describedby=\"caption-attachment-133039\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133039 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/vvv-logo.png\" alt=\"Varying Vagrant Vagrants\u306e\u30ed\u30b4\" width=\"1000\" height=\"349\"><figcaption id=\"caption-attachment-133039\" class=\"wp-caption-text\">Varying Vagrant Vagrants\u306e\u30ed\u30b4<\/figcaption><\/figure>\n<p>VVV\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067<a href=\"https:\/\/varyingvagrantvagrants.org\/docs\/en-US\/references\/xdebug\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xdebug<\/a>\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u5229\u7528\u3059\u308b\u306b\u306f\u6709\u52b9\u5316\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u3067Secure Shell\uff08SSH\uff09\u3092\u4f7f\u3063\u3066\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">vagrant ssh -c \"switch_php_debugmod xdebug\"<\/code><\/pre>\n<p>\u3057\u304b\u3057\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5c11\u3057\u843d\u3061\u308b\u306e\u3067\u3001\u30b5\u30a4\u30c8\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3059\u308b\u969b\u306b\u306f\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5143\u306b\u623b\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h4>Laravel Valet<\/h4>\n<p><a href=\"https:\/\/laravel.com\/docs\/9.x\/valet\">Laravel Valet<\/a>\u306f\u3001\u3042\u3089\u3086\u308b\u6a5f\u80fd\u304c\u63c3\u3063\u305f\u30a6\u30a7\u30d6\u958b\u767a\u74b0\u5883\u3068\u8a00\u3048\u307e\u3059\u3002\u4eca\u56de\u306e\u809d\u3067\u3042\u308bXdebug\u3092\u7d71\u5408\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001\u30c7\u30d0\u30c3\u30ac\u7528\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067<code>php --ini<\/code>\u3092\u4f7f\u3046\u3068\u30d1\u30b9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133036\" aria-describedby=\"caption-attachment-133036\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133036 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/terminal-php-ini.png\" alt=\"\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b\" width=\"1000\" height=\"444\"><figcaption id=\"caption-attachment-133036\" class=\"wp-caption-text\">\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u4e00\u89a7\u3092\u8868\u793a\u3059\u308b<\/figcaption><\/figure>\n<p>\u6b21\u306b\u3001\u8ffd\u52a0\u306e<strong>.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u306b\u65b0\u3057\u3044<strong>xdebug.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001<strong>\/opt\/homebrew\/etc\/php\/7.4\/conf.d<\/strong>\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u305f\u3089\u3001\u30ed\u30fc\u30c9\u6e08\u307f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\u30e1\u30a4\u30f3\u306e<strong>php.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\uff09\u3078\u306e\u30d1\u30b9\u3082\u901a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e21\u65b9\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u3001\u4ee5\u4e0b\u3092\u4e00\u756a\u4e0b\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>php.ini<\/strong>\uff1a<code>zend_extension=\"xdebug.so\"<\/code><\/li>\n<li><strong>xdebug.ini<\/strong>\uff1a<code>xdebug.mode=debug<\/code><\/li>\n<\/ul>\n<p>\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u305f\u3089\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089<code>valet restart<\/code>\u3092\u5b9f\u884c\u3057\u3001\u30b5\u30a4\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u3072\u3068\u3064\u306b<code>phpinfo(); exit;<\/code>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u30da\u30fc\u30b8\u518d\u8aad\u307f\u8fbc\u307f\u3067\u3001\u3053\u308c\u304c\u52d5\u4f5c\u3059\u308b\u304b\u3069\u3046\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<figure id=\"attachment_133031\" aria-describedby=\"caption-attachment-133031\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133031 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/php-info-page.png\" alt=\"PHP\u306e\u60c5\u5831\u753b\u9762\" width=\"1000\" height=\"498\"><figcaption id=\"caption-attachment-133031\" class=\"wp-caption-text\">PHP\u306e\u60c5\u5831\u753b\u9762<\/figcaption><\/figure>\n<p><code>sudo brew services restart php<\/code>\u3092\u4f7f\u3063\u3066PHP\u3092\u518d\u8d77\u52d5\u3057\u3001<code>php --info | grep xdebug<\/code>\u3092\u4f7f\u3063\u3066\u306e\u3001Xdebug\u30b7\u30b9\u30c6\u30e0\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6b63\u3057\u3044\u3053\u3068\u306e\u78ba\u8a8d\u304c\u5fc5\u8981\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306b\u3042\u308b\u3088\u3046\u306b\u3001\u51fa\u529b\u306bXdebug\u7279\u6709\u306e\u884c\u304c\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-133027\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/grep-xdebug-mode.png\" alt=\"A Terminal window showing a number of different Xdebug configuration settings (such as output names and display variables). The prompt shows the \"><\/p>\n<p>\u3053\u3053\u304b\u3089\u3001Xdebug\u3092\u597d\u307f\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30c7\u30a3\u30bf\u306b\u7d44\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>XAMPP<\/h4>\n<p><a href=\"https:\/\/www.apachefriends.org\/download.html\">XAMPP<\/a>\u3082Valet\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u30d1\u30fc\u30c8\u306b\u5206\u304b\u308c\u3066\u3044\u307e\u3059\u3002Windows\u7248\u3068macOS\u7248\u3067\u306f\u3001\u30d7\u30ed\u30bb\u30b9\u304c2\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305aXAMPP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001<strong>php_xdebug.dll<\/strong>\u30d5\u30a1\u30a4\u30eb\uff08Windows\uff09\u307e\u305f\u306f<strong>xdebug.so<\/strong>\u30d5\u30a1\u30a4\u30eb\uff08macOS\uff09\u304c\u30b7\u30b9\u30c6\u30e0\u4e0a\u306b\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\u3001\u7c21\u5358\u306b\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133038\" aria-describedby=\"caption-attachment-133038\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133038 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/test-xampp-file-terminal.png\" alt=\"XAMPP\u30d5\u30a1\u30a4\u30eb\u306e\u30c6\u30b9\u30c8\u3092\u8868\u793a\u3057\u305f\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\" width=\"1000\" height=\"353\"><figcaption id=\"caption-attachment-133038\" class=\"wp-caption-text\">XAMPP\u30d5\u30a1\u30a4\u30eb\u306e\u30c6\u30b9\u30c8\u3092\u8868\u793a\u3057\u305f\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6<\/figcaption><\/figure>\n<p>\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308c\u3070\u3001\u8a2d\u5b9a\u306b\u79fb\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u307e\u305aWindows\u7528\u306e<a href=\"https:\/\/xdebug.org\/download\">\u6b63\u3057\u3044\u30d0\u30a4\u30ca\u30ea\uff08\u5e0c\u671b\u306ePHP\u30d0\u30fc\u30b8\u30e7\u30f3\u7528\u306e64\u30d3\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\uff09\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/a>\u3059\u308b\u304b\u3001Mac\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3055\u3089\u306b\u3044\u304f\u3064\u304b\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Windows\u306e\u5834\u5408\u306f\u3001DLL\u30d5\u30a1\u30a4\u30eb<strong>php_xdebug.dll<\/strong>\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u3001<strong>xamppphpext<\/strong>\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u6b21\u306b\u3001<strong>xamppphpphp.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092<a href=\"https:\/\/kinqsta.com\/jp\/blog\/best-text-editors\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u597d\u307f\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf<\/a>\u3067\u958b\u304d\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">output_buffering = Off<\/code><\/pre>\n<p><code>[XDebug]<\/code>\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3001\u6b21\u306e3\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">zend_extension=xdebug\nxdebug.mode=debug\nxdebug.start_with_request=trigger<\/code><\/pre>\n<p>\u5909\u66f4\u3092\u4fdd\u5b58\u3057\u305f\u3089\u3001Apache\u3092\u518d\u8d77\u52d5\u3057\u3001Xdebug\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/stevegeorge.net\/2022\/02\/11\/installing-xdebug-for-xampp-on-mac\/\" target=\"_blank\" rel=\"noopener noreferrer\">Mac<\/a>\u306e\u5834\u5408\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067<code class=\"language-bash\">xcode-select --install<\/code>\u3092\u4f7f\u3063\u3066<a href=\"https:\/\/developer.apple.com\/xcode\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xcode<\/a>\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001Homebrew\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u304c3\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">brew install autoconf automake libtool<\/code><\/pre>\n<p>\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u3001\u30b3\u30a2\u30d7\u30ed\u30b0\u30e9\u30e0\u3068Developer Files\u306e\u4e21\u65b9\u3092\u5165\u624b\u3059\u308b\u305f\u3081\u306b\u3001XAMPP\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001\u307e\u305a\u306f\u65e2\u5b58\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u304a\u4f7f\u3044\u306e\u30b7\u30b9\u30c6\u30e0\u3067Xdebug\u306e\u30bd\u30fc\u30b9\u30d5\u30a9\u30eb\u30c0\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u79fb\u52d5\u3057\u3001TGZ\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u3057\u307e\u3059\u3002\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">phpize\npecl install xdebug<\/code><\/pre>\n<p>\u3053\u3053\u3067\u3082\u3001<code>sudo<\/code>\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u304b\u3089\u3001XAMPP\u306ephp.ini\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u306emacOS\u3067\u306f\u3001<strong>\/Applications\/XAMPP\/xamppfiles\/etc\/php.ini<\/strong>\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f<strong>xdebug.so<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3082\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u30e1\u30e2\u3057\u3066\u304a\u304d\u3001\u3053\u306e\u30b9\u30cb\u30da\u30c3\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306e\u4ee3\u308f\u308a\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">[xdebug]\nzend_extension=\/path\/to\/xdebug.so\nxdebug.mode=develop,degug\nxdebug.start_with_request=yes<\/code><\/pre>\n<p>\u3053\u308c\u304c\u3046\u307e\u304f\u3044\u304f\u304b\u3069\u3046\u304b\u30c6\u30b9\u30c8\u3059\u308b\u306b\u306f\u3001\u30e1\u30a4\u30f3\u306e<strong>htdocs <\/strong>XAMPP\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u65b0\u3057\u3044<strong>xdebug_info.php<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u306e\u4e2d\u306b\u3001\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">&lt;?php\nxdebug_info();<\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001Apache\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u3067Xdebug\u3092\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>Xdebug\u3067PhpStorm\u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p>OS\u3068\u958b\u767a\u74b0\u5883\u3092\u901a\u3057\u3066Xdebug\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u30c7\u30d0\u30c3\u30ac\u305d\u306e\u3082\u306e\u3092\u8868\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u304a\u597d\u307f\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u3084<a href=\"https:\/\/kinqsta.com\/blog\/php-editor\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u7d71\u5408\u958b\u767a\u74b0\u5883\uff08IDE\uff09<\/a>\u304b\u3089\u884c\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u74b0\u5883\u3068\u540c\u69d8\u306b\u3001\u591a\u304f\u306e\u9078\u629e\u80a2\u304b\u3089\u9078\u3076\u3053\u3068\u304c\u3067\u304d\u3001\u305d\u308c\u305e\u308c\u30a2\u30d7\u30ed\u30fc\u30c1\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u591a\u304f\u306e\u5834\u5408\u3001<a href=\"https:\/\/www.jetbrains.com\/phpstorm\/\" target=\"_blank\" rel=\"noopener noreferrer\">JetBrains\u306ePhpStorm<\/a>\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u969b\u3001PhpStorm\u306f\u300c<a href=\"https:\/\/www.jetbrains.com\/help\/phpstorm\/preparing-to-use-wordpress.html\">WordPress\u3092\u610f\u8b58\u3057\u305f\u30a2\u30b7\u30b9\u30c8<\/a>\u300d\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u4ed6\u306b\u3082\u591a\u304f\u306e\u7406\u7531\u3067\u3001\u4eba\u6c17\u306e\u3042\u308b\u9078\u629e\u80a2\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_133032\" aria-describedby=\"caption-attachment-133032\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133032 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/php-storm.png\" alt=\"PhpStorm\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\" width=\"1000\" height=\"625\"><figcaption id=\"caption-attachment-133032\" class=\"wp-caption-text\">PhpStorm\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9<\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.jetbrains.com\/help\/phpstorm\/configuring-xdebug.html\">JetBrains\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u306fXdebug\u3068PhpStorm\u306e\u63a5\u7d9a\u65b9\u6cd5\u304c\u8a73\u3057\u304f\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u3082\u304a\u3055\u3089\u3044\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u3001\u300c<strong>Preferences<\/strong>\u300d\u30da\u30fc\u30f3\u5185\u306e\u300c<strong>Languages &#038; Frameworks<\/strong>\u300d\uff1e\u300c<strong>PHP<\/strong>\u300d\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u300c<strong>CLI Interpreter<\/strong>\u300d\u306e\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u96a3\u306b\u3042\u308b\u300c<strong>More Items<\/strong>\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133021\" aria-describedby=\"caption-attachment-133021\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133021 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/cli-interpreter.png\" alt=\"PhpStorm\u3067CLI\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3092\u9078\u629e\u3059\u308b\" width=\"1000\" height=\"330\"><figcaption id=\"caption-attachment-133021\" class=\"wp-caption-text\">PhpStorm\u3067CLI\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u3092\u9078\u629e\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306b\u95a2\u3059\u308b\u3055\u3089\u306a\u308b\u8a73\u7d30\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u300c<strong>Configuration file<\/strong>\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u96a3\u306b\u3042\u308b\u300c<strong>More items<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001<strong>php.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133022\" aria-describedby=\"caption-attachment-133022\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133022 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/configuration-file.png\" alt=\"PhpStorm\u5185\u3067PHP\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\" width=\"1000\" height=\"271\"><figcaption id=\"caption-attachment-133022\" class=\"wp-caption-text\">PhpStorm\u5185\u3067PHP\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b<\/figcaption><\/figure>\n<p>PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3084\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306e\u8a73\u7d30\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001\u3053\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3092\u64cd\u4f5c\u3057\u3066\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u7d99\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<h4>php.ini\u30d5\u30a1\u30a4\u30eb\u3067\u306e\u4f5c\u696d<\/h4>\n<p>\u307e\u305a\u306f\u3001Xdebug\u304cPhpStorm\u3067\u3069\u306e\u3088\u3046\u306b\u52d5\u4f5c\u3059\u308b\u304b\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u884c\u3092\u7de8\u96c6\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/p>\n<p><strong>php.ini<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u3067\u3001\u4ee5\u4e0b\u306e\u884c\u3092\u63a2\u3057\u3001\u524a\u9664\u3059\u308b\u304b\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">zend_extension=&lt;path_to_zend_debugger&gt;\nzend_extension=&lt;path_to_zend_optimizer&gt;<\/code><\/pre>\n<p>\u3053\u308c\u3089\u306e\u884c\u306f\u3059\u5fc5\u305a\u5b58\u5728\u3059\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u8868\u793a\u3055\u308c\u306a\u304f\u3066\u3082\u6c17\u306b\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u6b21\u306e\u884c\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">[xdebug]\nzend_extension=\"xdebug.so\"\nxdebug.mode=debug\nxdebug.client_host=127.0.0.1\nxdebug.client_port=\"&lt;the port (9003 by default) to which Xdebug connects&gt;\"<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u6ce8\u610f\u3059\u3079\u304d\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u3059\u3067\u306b<code>[xdebug]<\/code>\u30bb\u30af\u30b7\u30e7\u30f3\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u5834\u5408\u306f\u6700\u521d\u306e\u6307\u5b9a\u3092\u7701\u7565\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><code>zend_extension<\/code>\u306e\u9805\u76ee\u306f\u3001\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306b<strong>xdebug.so<\/strong>\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306e\u3088\u3046\u306b\u898b\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<code>xdebug.client_port<\/code>\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u5185\u3067\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u3092\u8ffd\u52a0\u3057\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089PHP\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30c6\u30b9\u30c8\u3057\u307e\u3059\uff08<code>php --version<\/code>\u3092\u4f7f\u7528\uff09\u3002<\/p>\n<figure id=\"attachment_133037\" aria-describedby=\"caption-attachment-133037\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133037 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/terminal-xdebug-php-version.png\" alt=\"macOS\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067PHP\u3068Xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3059\u308b\u30c6\u30b9\u30c8\u3092\u884c\u3046\" width=\"1000\" height=\"416\"><figcaption id=\"caption-attachment-133037\" class=\"wp-caption-text\">macOS\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u3067PHP\u3068Xdebug\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u95a2\u3059\u308b\u30c6\u30b9\u30c8\u3092\u884c\u3046<\/figcaption><\/figure>\n<p>Xdebug\u304c\u52d5\u4f5c\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308c\u3070\u3001PHP\u306e\u62e1\u5f35\u6a5f\u80fd\u306e\u4e00\u3064\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u306b<code>phpinfo();<\/code>\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001Xdebug\u3092PhpStorm\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30c7\u30d0\u30c3\u30ac\u3068\u3057\u3066\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u6700\u5f8c\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u30d8\u30eb\u30d1\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h4>\u30d6\u30e9\u30a6\u30b6\u30d8\u30eb\u30d1\u62e1\u5f35\u6a5f\u80fd\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<p>\u6700\u5f8c\u306b\u30d6\u30e9\u30a6\u30b6\u3068PhpStorm\u306e\u9593\u306e\u63a5\u7d9a\u3092\u884c\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30b9\u30c6\u30c3\u30d7\u30c7\u30d0\u30c3\u30b0\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002\u7279\u5225\u306a\u5024<code>GET<\/code>\u3084<code>POST<\/code>\u3092\u4f7f\u3063\u3066<a href=\"https:\/\/xdebug.org\/docs\/step_debug#starting\">\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089<\/a>\u3053\u308c\u3092\u884c\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3046\u307b\u3046\u304c\u3088\u308a\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p>\u5c02\u7528\u306eXdebug Helper\u30a8\u30af\u30b9\u30c6\u30f3\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u304a\u597d\u307f\u306e\u30d6\u30e9\u30a6\u30b6\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/xdebug-helper\/eadndfjplgieldjbigjakmdgkmoaaaoc\">Chrome\/Chromium\/Brave\u7528Xdebug\u30d8\u30eb\u30d1<\/a><\/li>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-GB\/firefox\/addon\/xdebug-helper-for-firefox\/\" target=\"_blank\" rel=\"noopener noreferrer\">Firefox\u7528Xdebug\u30d8\u30eb\u30d1<\/a><\/li>\n<\/ul>\n<p>\u4ed6\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u304a\u63a2\u3057\u306e\u5834\u5408\u306f\u3001<a href=\"https:\/\/www.jetbrains.com\/help\/phpstorm\/browser-debugging-extensions.html\">JetBrains\u793e\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8<\/a>\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u9078\u629e\u3057\u305f\u30d6\u30e9\u30a6\u30b6\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u305d\u308c\u4ee5\u4e0a\u306e\u69cb\u6210\u3092\u8abf\u6574\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u3053\u304b\u3089\u3001PhpStorm\u3067Xdebug\u3092\u4f7f\u3044\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Xdebug\u306e\u4f7f\u7528<\/h3>\n<p>\u3053\u3053\u3067\u306fPhpStorm\u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001\u5225\u306eIDE\u3067\u3042\u3063\u3066\u3082\u30ec\u30a4\u30a2\u30a6\u30c8\u3084\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u4f3c\u901a\u3063\u305f\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d0\u30c3\u30b0\u306e\u5168\u4f53\u50cf\u3092\u5f62\u6210\u3059\u308b\u305f\u3081\u306b\u3001\u5404\u90e8\u4f4d\u3092\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>Breakpoints\/\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8<\/strong>\uff1aXdebug\u304c\u51fa\u529b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u505c\u6b62\u3059\u308b\u30dd\u30a4\u30f3\u30c8\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u597d\u304d\u306a\u3060\u3051\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u3002<\/li>\n<li><strong>Listening for connections\/\u63a5\u7d9a\u306e\u30ea\u30c3\u30b9\u30f3<\/strong>\uff1a\u3053\u306e\u6a5f\u80fd\u306f\u30aa\u30f3\u3068\u30aa\u30d5\u306e\u5207\u308a\u66ff\u3048\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u901a\u5e38\u3001\u5e38\u306b\u30aa\u30f3\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u306e\u304c\u5805\u5b9f\u3067\u3059\u3002<\/li>\n<li><strong>The debugging screen\/\u30c7\u30d0\u30c3\u30b0\u753b\u9762<\/strong>\uff1a\u3053\u306e\u753b\u9762\u3067\u3055\u307e\u3056\u307e\u306a\u30b3\u30fc\u30c9\u3001\u5909\u6570\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001\u30ea\u30b9\u30cb\u30f3\u30b0\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306a\u3057\u3067\u306f\u4f55\u3082\u30c7\u30d0\u30c3\u30b0\u3067\u304d\u307e\u305b\u3093\u3002\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u300c<strong>Run<\/strong>\u300d<strong>\uff1e<\/strong>\u300c<strong>Start Listening for PHP Debug Connections<\/strong>\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133034\" aria-describedby=\"caption-attachment-133034\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133034 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/phpstorm-run-menu.png\" alt=\"PhpStorm\u3067\u300cRun\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304f\" width=\"1000\" height=\"479\"><figcaption id=\"caption-attachment-133034\" class=\"wp-caption-text\">PhpStorm\u3067\u300cRun\u300d\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304f<\/figcaption><\/figure>\n<p>\u5225\u306e\u65b9\u6cd5\u3068\u3057\u3066\u3001PhpStorm\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u5185\u306e\u201c\u96fb\u8a71\u201d\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_133033\" aria-describedby=\"caption-attachment-133033\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133033 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/phpstorm-bug-toolbar.png\" alt=\"PhpStorm\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u3042\u308b\u96fb\u8a71\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u3063\u3066PHP\u30c7\u30d0\u30c3\u30b0\u63a5\u7d9a\u3092\u30ea\u30c3\u30b9\u30f3\u3059\u308b\" width=\"1000\" height=\"322\"><figcaption id=\"caption-attachment-133033\" class=\"wp-caption-text\">PhpStorm\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u306b\u3042\u308b\u96fb\u8a71\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u3063\u3066PHP\u30c7\u30d0\u30c3\u30b0\u63a5\u7d9a\u3092\u30ea\u30c3\u30b9\u30f3\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u3089\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u3044\u305a\u308c\u304b\u304c\u3001\u63a5\u7d9a\u306e\u30ea\u30c3\u30b9\u30f3\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u304b\u3089\u3001\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30ac\u30bf\u30fc\u5185\u306b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8d64\u3044\u70b9\u306f\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u793a\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u6709\u52b9\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<figure id=\"attachment_133020\" aria-describedby=\"caption-attachment-133020\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133020 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/add-breakpoints.png\" alt=\"PhpStorm\u7de8\u96c6\u30da\u30fc\u30b8\u306e\u30ac\u30bf\u30fc\u5185\u306b\u3042\u308b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\" width=\"1000\" height=\"661\"><figcaption id=\"caption-attachment-133020\" class=\"wp-caption-text\">PhpStorm\u7de8\u96c6\u30da\u30fc\u30b8\u306e\u30ac\u30bf\u30fc\u5185\u306b\u3042\u308b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8<\/figcaption><\/figure>\n<p>\u30b3\u30fc\u30c9\u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001\u30ea\u30b9\u30cb\u30f3\u30b0\u3092\u59cb\u3081\u3001\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u7279\u5b9a\u306e\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u5185\u3067\u62e1\u5f35\u6a5f\u80fd\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u898b\u3064\u3051\u3001\u305d\u308c\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300cDebug\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133035\" aria-describedby=\"caption-attachment-133035\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133035 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/select-debug-browser.png\" alt=\"\u5c02\u7528\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u3067\u300cDebug\u300d\u3092\u9078\u629e\u3059\u308b\" width=\"1000\" height=\"317\"><figcaption id=\"caption-attachment-133035\" class=\"wp-caption-text\">\u5c02\u7528\u62e1\u5f35\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u3067\u300cDebug\u300d\u3092\u9078\u629e\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001PhpStorm\u306e\u30c7\u30d0\u30c3\u30ac\u304c\u958b\u304d\u3001\u72b6\u614b\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133024\" aria-describedby=\"caption-attachment-133024\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133024 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/debugger-output.png\" alt=\"Xdebug\u3068\u7d44\u307f\u5408\u308f\u305bPhpStorm\u306e\u30c7\u30d0\u30c3\u30ac\u3092\u4f7f\u7528\u3059\u308b\" width=\"1000\" height=\"509\"><figcaption id=\"caption-attachment-133024\" class=\"wp-caption-text\">Xdebug\u3068\u7d44\u307f\u5408\u308f\u305bPhpStorm\u306e\u30c7\u30d0\u30c3\u30ac\u3092\u4f7f\u7528\u3059\u308b<\/figcaption><\/figure>\n<p>\u69d8\u3005\u306a\u5024\u3001\u5c5e\u6027\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3001\u5909\u6570\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u3055\u3089\u306b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30e1\u30cb\u30e5\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u30c6\u30b9\u30c8\u3084\u30c7\u30d0\u30c3\u30b0\u3092\u884c\u3046\u81ea\u7531\u5ea6\u304c\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133023\" aria-describedby=\"caption-attachment-133023\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133023 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/context-menu-debugger.png\" alt=\"PhpStorm Debugger\u3067\u53f3\u30af\u30ea\u30c3\u30af\u304b\u3089\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u65b0\u3057\u3044\u5024\u3092\u8a2d\u5b9a\" width=\"1000\" height=\"585\"><figcaption id=\"caption-attachment-133023\" class=\"wp-caption-text\">PhpStorm Debugger\u3067\u53f3\u30af\u30ea\u30c3\u30af\u304b\u3089\u30e1\u30cb\u30e5\u30fc\u3092\u958b\u304d\u65b0\u3057\u3044\u5024\u3092\u8a2d\u5b9a<\/figcaption><\/figure>\n<p>\u4f8b\u3048\u3070\u3001\u30d1\u30b9\u306b\u6cbf\u3063\u305f\u5909\u6570\u306b\u7570\u306a\u308b\u5024\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30b3\u30fc\u30c9\u3092\u308f\u3056\u3068\u58ca\u3057\u3066\u4f55\u304c\u8d77\u3053\u308b\u304b\u8a66\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3057\u3001\u3059\u3067\u306b\u4fee\u6b63\u304c\u5fc5\u8981\u306a\u30b3\u30fc\u30c9\u3078\u306e\u5bfe\u51e6\u3068\u3057\u3066\u3082\u4f7f\u3048\u307e\u3059\u3002\u3044\u305a\u308c\u306b\u305b\u3088\u3001\u30b3\u30fc\u30c9\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306a\u304f\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u306e\u306b\u6709\u7528\u3067\u3059\u3002<\/p>\n<h2>Kinsta\u3068WordPress\u30b5\u30a4\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\uff08\u6d3b\u7528\u65b9\u6cd5\uff09<\/h2>\n<p>WordPress\u306b\u306f\u3001<code>WP_DEBUG<\/code>\u3084<a href=\"https:\/\/kinqsta.com\/blog\/query-monitor\/\" target=\"_blank\" rel=\"noopener noreferrer\">Query Monitor<\/a>\u306a\u3069\u3001\u72ec\u81ea\u306e<a href=\"https:\/\/kinqsta.com\/jp\/docs\/wordpress-hosting\/wordpress-troubleshooting\/wordpress-debugging\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30c7\u30d0\u30c3\u30b0\u30aa\u30d7\u30b7\u30e7\u30f3<\/a>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30b5\u30a4\u30c8\u3068\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u81f3\u308b\u6240\u3067\u3001\uff08\u4ee5\u524d\u306f\u96a0\u308c\u3066\u3044\u305f\uff09\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u305d\u3053\u304b\u3089\u3001\u4f55\u304c\u554f\u984c\u306a\u306e\u304b\u3092\u89e3\u660e\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<code>WP_DEBUG_LOG<\/code>\u3092\u4f7f\u3063\u3066\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4fdd\u5b58\u3059\u308c\u3070\u3001\u30b5\u30a4\u30c8\u306e\u554f\u984c\u3092\u6587\u66f8\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/kinqsta.com\/blog\/wordpress-debug\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u3067\u8aac\u660e\u3057\u3066\u3044\u307e\u3059\u3002<a href=\"https:\/\/my.kinqsta.com\/?lang=ja\" target=\"_blank\" rel=\"noopener noreferrer\">MyKinsta<\/a>\uff08\u300c<strong>\u30b5\u30a4\u30c8<\/strong>\u300d\uff1e\u300c<strong>\u30c4\u30fc\u30eb<\/strong>\u300d\u753b\u9762\uff09\u304b\u3089\u7c21\u5358\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133029\" aria-describedby=\"caption-attachment-133029\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133029 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/kinsta-dashboard-debug.png\" alt=\"MyKinsta\u306b\u3042\u308bWordPress\u30c7\u30d0\u30c3\u30b0\u30aa\u30d7\u30b7\u30e7\u30f3\" width=\"1000\" height=\"220\"><figcaption id=\"caption-attachment-133029\" class=\"wp-caption-text\">MyKinsta\u306b\u3042\u308bWordPress\u30c7\u30d0\u30c3\u30b0\u30aa\u30d7\u30b7\u30e7\u30f3<\/figcaption><\/figure>\n<p>\u3053\u308c\u3092<a href=\"https:\/\/kinqsta.com\/jp\/devkinsta\/features\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u7121\u6599\u306e\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u30c4\u30fc\u30eb<\/a><a href=\"https:\/\/kinqsta.com\/jp\/devkinsta\/features\/\" target=\"_blank\" rel=\"noopener noreferrer\">DevKinsta<\/a>\u3068\u7d44\u307f\u5408\u308f\u305b\u3001\u69cb\u7bc9\u3059\u308b\u5404\u30b5\u30a4\u30c8\u306e<code>WP_DEBUG<\/code>\u3092\u30ef\u30f3\u30af\u30ea\u30c3\u30af\u3067<a href=\"https:\/\/kinqsta.com\/docs\/devkinsta\/logging\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u6709\u52b9\u30fb\u7121\u52b9<\/a>\u306b\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<figure id=\"attachment_133025\" aria-describedby=\"caption-attachment-133025\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133025 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/devkinsta-debug.png\" alt=\"DevKinsta\u3067WP_DEBUG\u3092\u6709\u52b9\u306b\u3059\u308b\" width=\"1000\" height=\"513\"><figcaption id=\"caption-attachment-133025\" class=\"wp-caption-text\">DevKinsta\u3067WP_DEBUG\u3092\u6709\u52b9\u306b\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u4e2d\u306b\u30b5\u30a4\u30c8\u306e\u30a8\u30e9\u30fc\u3092\u30ad\u30e3\u30c3\u30c1\u3057\u3001\u672c\u756a\u30b5\u30a4\u30c8\u306b\u305d\u306e\u5f71\u97ff\u304c\u51fa\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30e2\u30fc\u30c9\u306f\u307e\u305f\u3001<a href=\"https:\/\/kinqsta.com\/jp\/blog\/wordpress-security-plugins\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30b5\u30a4\u30c8\u3068\u30e6\u30fc\u30b6\u30fc\u4e21\u65b9\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3<\/a>\u306b\u3068\u3063\u3066\u91cd\u8981\u3067\u3042\u308a\u3001\u7c21\u5358\u306b\u30aa\u30d5\u306b\u5207\u308a\u66ff\u3048\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3059\u3079\u3066\u306eKinsta\u30d7\u30e9\u30f3\u306b\u306f\u3001WordPress\u30b5\u30a4\u30c8\u3092\u8003\u3048\u8a2d\u8a08\u3055\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u76e3\u8996\u30c4\u30fc\u30eb\u3067\u3042\u308b<a href=\"https:\/\/kinqsta.com\/jp\/apm-tool\/\">Kinsta APM<\/a>\u3082\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<kinsta-video src=\"https:\/\/kinsta.wistia.com\/medias\/vyqb42r35j\"><\/kinsta-video><\/p>\n<h2>\u30b3\u30de\u30f3\u30c9\u306e\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3092\u307e\u3068\u3081\u308b\u524d\u306b\u3001\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306b\u3064\u3044\u3066\u89e6\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u306e\u591a\u304f\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3068\u540c\u69d8\u306b\u3001Xdebug (\u304a\u3088\u3073 PhpStorm) \u3067\u3082\u30ad\u30fc\u30dc\u30fc\u30c9\u3060\u3051\u3067\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5\u304c\u3044\u308d\u3044\u308d\u3068\u3042\u308a\u307e\u3059\u3002\u5b9f\u969b\u3001PHP\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c7\u30d0\u30c3\u30b0\u306b\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Xdebug\u3092\u8d77\u52d5\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u79fb\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"responsive-table\">\n<p>\u00a0<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30b3\u30de\u30f3\u30c9<\/th>\n<th>\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30ea\u30c3\u30b9\u30f3\u3059\u308b\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\uff08\u4f8b\uff1a<code>[9003]<\/code> \uff09<\/td>\n<td><code>-p [value]<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u6307\u5b9a\u3055\u308c\u305f\u884c\u306b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a<\/td>\n<td><code>breakpoint_set -t line file:\/\/\/&lt;path&gt; -n &lt;line&gt;<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6700\u5f8c\u307e\u3067\u3001\u307e\u305f\u306f\u6b21\u306e\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u307e\u3067\u5b9f\u884c<\/td>\n<td><code>run<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u6b21\u306e\u5b9f\u884c\u53ef\u80fd\u884c\u306b\u9032\u3080<\/td>\n<td><code>step_into<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u73fe\u5728\u306e\u30b9\u30b3\u30fc\u30d7\u5185\u306e\u5909\u6570\u3068\u5024\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7<\/td>\n<td><code>context_get<\/code><\/td>\n<\/tr>\n<tr>\n<td>\u6307\u5b9a\u3055\u308c\u305f\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u8868\u793a<\/td>\n<td><code>property_get -n &lt;property&gt;<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<\/div>\n<p>\u7279\u5b9a\u306e\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306b\u306f\u5c02\u7528\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306fPhpStorm\u306b\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002PhpStorm\u3067Xdebug\u3092\u4f7f\u7528\u3059\u308b<a href=\"https:\/\/www.jetbrains.com\/help\/phpstorm\/mastering-keyboard-shortcuts.html#learn-shortcuts\">\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8<\/a>\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"responsive-table\">\n<p>\u00a0<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30b3\u30de\u30f3\u30c9<\/th>\n<th>Windows<\/th>\n<th>macOS<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u691c\u7d22\u64cd\u4f5c<\/td>\n<td><strong>Ctrl<\/strong>+<strong>Shift<\/strong>+<strong>A<\/strong><\/td>\n<td><strong>Shift<\/strong>+<strong>Cmd<\/strong>+<strong>A<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30c7\u30d0\u30c3\u30ac\u3092\u958b\u304f<\/td>\n<td><strong>Shift<\/strong>+<strong>F9<\/strong><\/td>\n<td><strong>Ctrl<\/strong>+<strong>D<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u306e\u5207\u308a\u66ff\u3048<\/td>\n<td><strong>Ctrl<\/strong>\uff0b<strong>F8<\/strong><\/td>\n<td><strong>Cmd<\/strong>\uff0b<strong>F8<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30c6\u30c3\u30d7\u30a4\u30f3<\/td>\n<td><strong>F7<\/strong><\/td>\n<td><strong>F7<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30c6\u30c3\u30d7\u30aa\u30fc\u30d0\u30fc<\/td>\n<td><strong>F8<\/strong><\/td>\n<td><strong>F8<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u306e\u8868\u793a<\/td>\n<td><strong>Ctrl<\/strong>+<strong>Shift<\/strong>+<strong>F8<\/strong><\/td>\n<td><strong>Shift<\/strong>+<strong>Cmd<\/strong>+<strong>F8<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u518d\u958b<\/td>\n<td><strong>F9<\/strong><\/td>\n<td><strong>F9<\/strong><\/td>\n<\/tr>\n<tr>\n<td>\u73fe\u5728\u306e\u5f0f\u3092\u8a55\u4fa1<\/td>\n<td><strong>Alt<\/strong>+<strong>F8<\/strong><\/td>\n<td><strong>Option<\/strong>+<strong>F8<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<\/div>\n<p>\u899a\u3048\u308b\u3053\u3068\u306f\u3001\u305d\u3053\u307e\u3067\u591a\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u30c7\u30d0\u30c3\u30ac\u3092\u958b\u304d\u3001\u884c\u3054\u3068\u306b\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3001\u63a5\u7d9a\u3092\u5f85\u3061\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u7279\u5b9a\u306e\u30bf\u30b9\u30af\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u5fc5\u8981\u306a\u5834\u5408\u306f\u3001PhpStorm\u306e<strong>Find Action<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_133026\" aria-describedby=\"caption-attachment-133026\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133026 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/find-action-bar.png\" alt=\"PhpStorm\u5185\u306e\u691c\u7d22\u64cd\u4f5c\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u7528\u3059\u308b\" width=\"1000\" height=\"470\"><figcaption id=\"caption-attachment-133026\" class=\"wp-caption-text\">PhpStorm\u5185\u306e\u691c\u7d22\u64cd\u4f5c\u30e1\u30cb\u30e5\u30fc\u3092\u4f7f\u7528\u3059\u308b<\/figcaption><\/figure>\n<p>\u3053\u306e\u30b9\u30da\u30fc\u30b9\u306b\u5165\u529b\u3092\u59cb\u3081\u308b\u3068\u3001\u30b3\u30de\u30f3\u30c9\u3068\u95a2\u9023\u3059\u308b\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306e\u30ea\u30b9\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u300c<strong>Help<\/strong>\u300d<strong>\uff1e<\/strong>\u300c<strong>Keyboard Shortcuts PDF<\/strong>\u300d\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u3001\u3059\u3079\u3066\u306e\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u306ePDF\u7248\u3092\u898b\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30de\u30a6\u30b9\u3067\u4f5c\u696d\u3057\u306a\u304c\u3089\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001JetBrains\u63d0\u4f9b\u306e<a href=\"https:\/\/plugins.jetbrains.com\/plugin\/9792-key-promoter-x\">Key Promoter X<\/a>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<figure id=\"attachment_133028\" aria-describedby=\"caption-attachment-133028\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-133028 size-full\" src=\"https:\/\/kinqsta.com\/wp-content\/uploads\/2022\/09\/key-promoter-x.png\" alt=\"PhpStorm\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306bKey Promoter X\u306e\u901a\u77e5\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\" width=\"1000\" height=\"463\"><figcaption id=\"caption-attachment-133028\" class=\"wp-caption-text\">PhpStorm\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306bKey Promoter X\u306e\u901a\u77e5\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b<\/figcaption><\/figure>\n<p>\u3053\u308c\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6700\u8fd1\u5b9f\u884c\u3057\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u901a\u77e5\u3068\u3001\u95a2\u9023\u3059\u308b\u30ad\u30fc\u30dc\u30fc\u30c9\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u4e00\u5ea6\u3001\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3092\u899a\u3048\u3066\u3057\u307e\u3048\u3070\u3001\u3042\u3068\u306f\u3053\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6bb5\u968e\u7684\u306b\u524a\u9664\u3057\u3066\u3001\u30b9\u30da\u30fc\u30b9\u3092\u89e3\u653e\u3059\u308b\u306e\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u30c7\u30d0\u30c3\u30b0\u306e\u5b9f\u8df5\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u3068\u3053\u308d\u304b\u3089\u59cb\u307e\u308a\u3001\u9577\u3044\u9053\u306e\u308a\u3092\u7d4c\u3066\u3001\u4eca\u3067\u306f\uff08\u305d\u306e\u7956\u5148\u304c\u60f3\u50cf\u3057\u5f97\u306a\u304b\u3063\u305f\u304f\u3089\u3044\u306b\uff09\u305a\u3063\u3068\u5e83\u3044\u7bc4\u56f2\u3092\u30ab\u30d0\u30fc\u3057\u3066\u3044\u307e\u3059\u3002PHP\u30b3\u30fc\u30c9\u306e\u4fee\u6b63\u3092\u5fb9\u5e95\u7684\u306b\u884c\u3046\u306b\u306f\u3001\u512a\u308c\u305f\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6709\u7528\u306a\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u3084\u30c4\u30fc\u30eb\u306f\u6570\u591a\u304f\u3042\u308a\u307e\u3059\u304c\u3001<a href=\"https:\/\/xdebug.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xdebug<\/a>\u306f\u305d\u306e\u7b46\u982d\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u308c\u307e\u3067\u898b\u3066\u304d\u305f\u3088\u3046\u306b\u3001Xdebug\u306f\u3042\u3089\u3086\u308b\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306b\u9069\u5fdc\u3067\u304d\u3001<a href=\"https:\/\/www.jetbrains.com\/phpstorm\/\" target=\"_blank\" rel=\"noopener noreferrer\">PhpStorm<\/a>\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3068\u7279\u306b\u7d20\u6674\u3089\u3057\u3044\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u95a2\u4fc2\u306a\u304f\u3001\u3042\u3089\u3086\u308b\u4eba\u306e\u30cb\u30fc\u30ba\u3092\u6e80\u305f\u3059\u306f\u305a\u3067\u3059\u3002\u5168\u4f53\u3068\u3057\u3066\u3001\u5f37\u529b\u3067\u3001\u67d4\u8edf\u6027\u304c\u3042\u308a\u3001\u76f4\u611f\u7684\u306b\u4f7f\u3048\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p>Xdebug\u306f\u9ad8\u3044\u8a55\u4fa1\u306b\u5024\u3059\u308b\u3068\u601d\u3044\u307e\u3059\u304b\uff1f\u305d\u308c\u3068\u3082\u3001\u4ed6\u306e\u30c7\u30d0\u30c3\u30b0\u30c4\u30fc\u30eb\u306e\u65b9\u304c\u304a\u597d\u307f\u3067\u3059\u304b\uff1f\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u958b\u767a\u8005\u306a\u3089\u8ab0\u3067\u3082\u7d4c\u9a13\u3059\u308b\u3053\u3068\u3067\u3059\u304c\u3001\u30b3\u30fc\u30c9\u306e\u8a18\u8ff0\u306b\u4fee &#8230;<\/p>\n","protected":false},"author":117,"featured_media":37957,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[283,184,45,36,725],"topic":[],"class_list":["post-37956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-debugging","tag-web-development","tag-webdev","tag-wordpress","tag-xdebug"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9<\/title>\n<meta name=\"description\" content=\"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\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:\/\/kinqsta.com\/jp\/blog\/xdebug\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9\" \/>\n<meta property=\"og:description\" content=\"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-13T07:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-17T13:13:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Salman Ravoof\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\" \/>\n<meta name=\"twitter:creator\" content=\"@salmanravoof\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Salman Ravoof\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"7\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\"},\"author\":{\"name\":\"Salman Ravoof\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987\"},\"headline\":\"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9\",\"datePublished\":\"2022-10-13T07:00:10+00:00\",\"dateModified\":\"2024-09-17T13:13:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\"},\"wordCount\":490,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\",\"keywords\":[\"debugging\",\"web development\",\"webdev\",\"WordPress\",\"xdebug\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\",\"name\":\"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9\",\"isPartOf\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\",\"datePublished\":\"2022-10-13T07:00:10+00:00\",\"dateModified\":\"2024-09-17T13:13:15+00:00\",\"description\":\"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinqsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#website\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinqsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinqsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987\",\"name\":\"Salman Ravoof\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g\",\"caption\":\"Salman Ravoof\"},\"description\":\"Salman Ravoof is a self-taught web developer, writer, creator, and a huge admirer of Free and Open Source Software (FOSS). Besides tech, he's excited by science, philosophy, photography, arts, cats, and food. Learn more about him on his website, and connect with Salman on Twitter.\",\"sameAs\":[\"https:\/\/salmanravoof.com\",\"https:\/\/www.linkedin.com\/in\/salman-ravoof-5a749133\/\",\"https:\/\/x.com\/salmanravoof\"],\"url\":\"https:\/\/kinqsta.com\/jp\/blog\/author\/salmanravoof\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9","description":"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\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:\/\/kinqsta.com\/jp\/blog\/xdebug\/","og_locale":"ja_JP","og_type":"article","og_title":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9","og_description":"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002","og_url":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2022-10-13T07:00:10+00:00","article_modified_time":"2024-09-17T13:13:15+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","type":"image\/png"}],"author":"Salman Ravoof","twitter_card":"summary_large_image","twitter_description":"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002","twitter_image":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","twitter_creator":"@salmanravoof","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Salman Ravoof","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"7\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#article","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/"},"author":{"name":"Salman Ravoof","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987"},"headline":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9","datePublished":"2022-10-13T07:00:10+00:00","dateModified":"2024-09-17T13:13:15+00:00","mainEntityOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/"},"wordCount":490,"commentCount":0,"publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","keywords":["debugging","web development","webdev","WordPress","xdebug"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/","url":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/","name":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9","isPartOf":{"@id":"https:\/\/kinqsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage"},"thumbnailUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","datePublished":"2022-10-13T07:00:10+00:00","dateModified":"2024-09-17T13:13:15+00:00","description":"\u30c7\u30d0\u30c3\u30b0\u306f\u30a6\u30a7\u30d6\u958b\u767a\u306b\u6b20\u304b\u305b\u306a\u3044\u3082\u306e\u3067\u3059\u3002\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u306fXdebug\u306e\u4f7f\u3044\u65b9\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3055\u3089\u306bPhpStorm\u3092Xdebug\u3068\u7d71\u5408\u3059\u308b\u65b9\u6cd5\u306b\u3082\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinqsta.com\/jp\/blog\/xdebug\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#primaryimage","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2022\/10\/xdebug.png","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinqsta.com\/jp\/blog\/xdebug\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinqsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WordPress\u958b\u767a\u8005\u306a\u3089\u5fc5\u305a\u77e5\u3063\u3066\u304a\u304d\u305f\u3044Xdebug\u306e\u4f7f\u3044\u65b9"}]},{"@type":"WebSite","@id":"https:\/\/kinqsta.com\/jp\/#website","url":"https:\/\/kinqsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinqsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinqsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinqsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinqsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinqsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/9cafd2eedd617e640eeea4cf3a5fd987","name":"Salman Ravoof","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinqsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c5885f75cb78473fb7408e5e49ad190?s=96&d=mm&r=g","caption":"Salman Ravoof"},"description":"Salman Ravoof is a self-taught web developer, writer, creator, and a huge admirer of Free and Open Source Software (FOSS). Besides tech, he's excited by science, philosophy, photography, arts, cats, and food. Learn more about him on his website, and connect with Salman on Twitter.","sameAs":["https:\/\/salmanravoof.com","https:\/\/www.linkedin.com\/in\/salman-ravoof-5a749133\/","https:\/\/x.com\/salmanravoof"],"url":"https:\/\/kinqsta.com\/jp\/blog\/author\/salmanravoof\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/37956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/users\/117"}],"replies":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/comments?post=37956"}],"version-history":[{"count":15,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/37956\/revisions"}],"predecessor-version":[{"id":60629,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/posts\/37956\/revisions\/60629"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/pt"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/fr"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/es"},{"embeddable":true,"hreflang":"sv","title":"Swedish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/se"},{"embeddable":true,"hreflang":"da","title":"Danish","href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/translations\/dk"},{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/37956\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media\/37957"}],"wp:attachment":[{"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/media?parent=37956"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/tags?post=37956"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinqsta.com\/jp\/wp-json\/wp\/v2\/topic?post=37956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}