반응형
vscode에서 break point를 지정해도 run 시 disable 되어 버리는 경우가 있습니다.
이런 경우 debugpy 모듈이 설치되지 않았거나 올바르게 설치되지 않았을 가능성이 있습니다.
1. debugpy 설치
pip install debugpy
2. launch.json 파일 수정
{
"version": "0.2.0",
"configurations": [
{
"name": "Python 디버거: 현재 파일",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
}
]
}
3. extension 설치
이렇게 하면 대부분 해결이 됩니다
반응형
'IT > 개발' 카테고리의 다른 글
LLM 환각(Hallucination)에 대한 모델 평가(갈릴레오AI 벤치마크, 클로드, GPT, 큐원, 제미나이 등) (0) | 2024.08.01 |
---|---|
미스트랄 라지2 출시 개요 (Mistral Large 2, Llama 3.1 능가) (0) | 2024.07.26 |
Llama 3.1 405B 개요 (메타, 최대 규모의 오픈소스 LLM 공개) (0) | 2024.07.24 |
Mistral NeMo, 미스트랄 온디바이스 AI 모델 개요 (0) | 2024.07.23 |
GPT-4o mini 개요 (API 비용 효율성 3.5 turbo의 1/10 가격) (0) | 2024.07.22 |