Home Visual Code 디버깅 모드
Post
Cancel

Visual Code 디버깅 모드

Visual Code Debug 모드 사용하기

Untitled (1)

인자값 전달하고 싶으면 launch.json 파일을 만들어서 그 안에 args["인자","인자2"], 이런 식으로 넣어 주면 된다.

디버깅 실행 단축키는 F5

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: 현재 파일",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "justMyCode": true,
            "args" : ["export","-f","password.csv", "--password_crack"],
        }
    ],
    "variablePresentation":{
        "function": "hide",
        "special": "hide",
    }
}

[참고자료]

This post is licensed under CC BY 4.0 by the author.