AtoM 디버그 모드 (Debug Mode) 설정

edited August 2023 in AtoM

설정방법: https://www.accesstomemory.org/en/docs/2.7/admin-manual/maintenance/debug/

튜토리얼 영상: https://www.youtube.com/watch?v=_zdplmuvhf0

아래 설정파일을 열어 내 컴퓨터 ID를 추가한다

$ sudo nano/etc/php/7.4/fpm/pool.d/atom.conf

; This is a good place to define some environment variables, e.g. use
; ATOM_DEBUG_IP to define a list of IP addresses with full access to the
; debug frontend or ATOM_READ_ONLY if you want AtoM to prevent
; authenticated users
env[ATOM_DEBUG_IP] = "10.10.10.10,**121.160.98.14**" #이 부분을 내 컴퓨터의 IP로 바꾸면 된다
env[ATOM_READ_ONLY] = "off"

(참고: 내 IP주소 찾을 때 Wi-Fi 정보로 찾지 말고 구글에서 내 IP찾기로 검색하자)

PHP-FPM을 재시작한다

sudo systemctl restart php7.4-fpm

디버그 모드 주소로 AtoM에 접근하여 페이지별로 로그를 볼 수 있다

http://3.36.97.6/qubit_dev.php

디버그 모드 설정하면 아래 그림처럼 우측 상단에 디버그 툴킷 메뉴가 생긴다



Tagged:
Sign In or Register to comment.