vs codeでphpのデバッグを行いと思っていますが、ブレイクポイントで
プログラムが止まりません。
phpはxdebugを使っています。
vs codeのjasonとphp.iniのxdebugの設定は以下の通りです。
どうぞよろしくお願いします。
jason
1"version": "0.2.0", 2 "configurations": [ 3 { 4 "name": "Listen for XDebug", 5 "type": "php", 6 "request": "launch", 7 "port": 9000, 8 }, 9 { 10 "name": "Launch currently open script", 11 "type": "php", 12 "request": "launch", 13 "program": "${file}", 14 "port": 9000, 15 "runtimeExecutable": "c:\xampp\php\php.exe" 16 } 17 ] 18
[XDEBUG] zend_extension = "c:\xampp\php\ext\php_xdebug-2.9.0-7.3-vc15-x86_64.dll" xdebug.remote_autostart = 1 xdebug.profiler_append = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 0 xdebug.profiler_output_dir = "c:\xampp\tmp" xdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_handler = "dbgp" xdebug.remote_host = "127.0.0.1" xdebug.remote_log = "c:\xampp\tmp\xdebug.txt" xdebug.remote_port = 9000 xdebug.trace_output_dir = "c:\xampp\tmp" xdebug.remote_cookie_expire_time = 36000 xdebug.remote_host=localhost
ブレイクポイントをどこに貼ったのかとそのコードを提示してください。
でないと誰も再現確認できませんので
回答3件
あなたの回答
tips
プレビュー