Debug

· WEB/Vue.js
[Vue.js] vscode 에서 vue 디버깅 1. vscode 에서 디버깅 모드 설정 가장 먼저 vscode에서 DEBUG 화면에 들어가서 [톱니바퀴모양]을 누른다. launch.json 파일이 자동으로 열리게 되며, 여기서 디버깅 모드 설정을 할 수 있다. 🔨 launch.json 파일 // launch.json { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configu..
[Django] Debug Toolbar 1. django-debug-toolbar를 설치해줍니다. $ pip install django-debug-toolbar 2. settings.py파일에 아래와 같이 옵션을 추가해 줍니다. if DEBUG 조건을 이용해서 production이 아닌 debug모드일 때만 debug toolbar가 실행되도록 합니다. 사실, 아래 url에서 debug모드일 때만 url이 맵핑되도록 할 예정이기 때문에 굳이 위 조건을 넣지 않아도 됩니다😄 - INTERNAL_IPS : 접속 허용할 아이피 - DEBUG_TOOLBAR_PANELS : 사용할 판넬 추가 (문서) # .. Debug ToolBar if DEBUG: INTERNAL_IPS = ('127.0.0.1', 'loc..
S0PH1A
'Debug' 태그의 글 목록