php xdebug 관련 (eclipse mars)

1. 9000 포트 외부접속 가능하도록 (공유기 포트포워딩 사용)<br /> - netstat -ano | findstr :9000 =&gt; 9000 포트 [PID] 확인<br /> - tasklist | findstr [PID] =&gt; javaw가 9000 포트 쓰는지 확인<br /> - tcping 내부IP 9000 =&gt; 내부포트 확인 (tcping은 외부 유틸리티임)<br /> - tcping 공유기IP 9000 =&gt; 포트포워딩 확인 (공유기에 할당된 IP. 공유기 설정에 있음)<br /> =&gt; 안될시 포트포워딩 문제 or 방화벽 문제임<br /> =&gt; 윈도우 방화벽 포트 열기: 방화벽 -&gt; 고급 -&gt; 인바운드 규칙 -&gt; 새규칙 -&gt; 포트 -&gt; 9000 -&gt; 연결허용<br /> - tcping 외부IP 9000 =&gt; 외부포트 확인<br /> php.ini에 xdebug 설정 =&gt; service php-fpm restart<br /> 이클립스 debug 설정 후 디버그 시작<br /> 연결안될시 /var/log/php-fpm/xdebug.log 확인<br /> 내부IP 고정은 192.168.0.30<br /> <br /> ** IP, 포트 확인해도 안될때 --&gt; 이클립스 재시작<br /> <br /> ** 이클립스 breakpoint 단축키 안될때 -&gt; Window &gt; Perspective &gt; customize perspective... -&gt; &quot;Action Set Availability&quot;, check &quot;Breakpoints&quot;<br /> <br /> ** php파일 breakpoint 동작 안될때<br /> Debug Configurations -&gt; Debugger -&gt; Configure -&gt; Path Mapping =&gt; 루트와 www만 매핑되도록 남길것<br /><i class="fa fa-language transViewIcon clickable" title="Translation"></i>

php xdebug 관련 (eclipse mars)
Last tagged 2018/11/26 14:53
Play musics without ads!
https://hoyatag.com/main/img/no_image.png?t=1514751389
php xdebug 관련 (eclipse mars)
2
#php 1
#xdebug 1
#eclipse 1
#이클립스 1
#mars 1
Loading...
1. 9000 포트 외부접속 가능하도록 (공유기 포트포워딩 사용)
- netstat -ano | findstr :9000 => 9000 포트 [PID] 확인
- tasklist | findstr [PID] => javaw가 9000 포트 쓰는지 확인
- tcping 내부IP 9000 => 내부포트 확인 (tcping은 외부 유틸리티임)
- tcping 공유기IP 9000 => 포트포워딩 확인 (공유기에 할당된 IP. 공유기 설정에 있음)
=> 안될시 포트포워딩 문제 or 방화벽 문제임
=> 윈도우 방화벽 포트 열기: 방화벽 -> 고급 -> 인바운드 규칙 -> 새규칙 -> 포트 -> 9000 -> 연결허용
- tcping 외부IP 9000 => 외부포트 확인
php.ini에 xdebug 설정 => service php-fpm restart
이클립스 debug 설정 후 디버그 시작
연결안될시 /var/log/php-fpm/xdebug.log 확인
내부IP 고정은 192.168.0.30

** IP, 포트 확인해도 안될때 --> 이클립스 재시작

** 이클립스 breakpoint 단축키 안될때 -> Window > Perspective > customize perspective... -> "Action Set Availability", check "Breakpoints"

** php파일 breakpoint 동작 안될때
Debug Configurations -> Debugger -> Configure -> Path Mapping => 루트와 www만 매핑되도록 남길것
This playlist has no title.
php xdebug 관련 (eclipse mars)
Share with your friends!
Press emoticons to leave feelings.
#Like
#Like
1
#Funny
#Funny
1
#Sad
#Sad
0
#Angry
#Angry
1
#Cool
#Cool
0
#Amazing
#Amazing
0
#Scary
#Scary
0
#Want more
#Want more
0
4286 https://hoyatag.com/main/cards/4286-php-xdebug-%EA%B4%80%EB%A0%A8-%28eclipse-mars%29.tagcard php xdebug 관련 (eclipse mars) 3
Mark LIKE on the tags!
93 php
1
9488 xdebug
9491 eclipse
659 이클립스
9492 mars
1
서브루틴
서브루틴
There is no introduction.
 
Share page of @서브루틴
UnMark |Edit |Search
Mark |Dislike |Search
Mark |Del |Search
Open
Report
Translation