DrawingProcess
๋“œํ”„ DrawingProcess
DrawingProcess
์ „์ฒด ๋ฐฉ๋ฌธ์ž
์˜ค๋Š˜
์–ด์ œ
ยซ   2025/05   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
  • ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (964)
    • Profile & Branding (22)
      • Career (15)
    • IT Trends (254)
      • Conference, Faire (Experien.. (31)
      • News (187)
      • Youtube (19)
      • TED (8)
      • Web Page (2)
      • IT: Etc... (6)
    • Contents (97)
      • Book (66)
      • Lecture (31)
    • Project Process (94)
      • Ideation (0)
      • Study Report (34)
      • Challenge & Award (22)
      • 1Day1Process (5)
      • Making (5)
      • KRC-FTC (Team TC(5031, 5048.. (10)
      • GCP (GlobalCitizenProject) (15)
    • Study: ComputerScience(CS) (72)
      • CS: Basic (9)
      • CS: Database(SQL) (5)
      • CS: Network (14)
      • CS: OperatingSystem (3)
      • CS: Linux (39)
      • CS: Etc... (2)
    • Study: Software(SW) (95)
      • SW: Language (29)
      • SW: Algorithms (1)
      • SW: DataStructure & DesignP.. (1)
      • SW: Opensource (15)
      • SW: Error Bug Fix (43)
      • SW: Etc... (6)
    • Study: Artificial Intellige.. (149)
      • AI: Research (1)
      • AI: 2D Vision(Det, Seg, Tra.. (35)
      • AI: 3D Vision (70)
      • AI: MultiModal (3)
      • AI: SLAM (0)
      • AI: Light Weight(LW) (3)
      • AI: Data Pipeline (7)
      • AI: Machine Learning(ML) (1)
    • Study: Robotics(Robot) (33)
      • Robot: ROS(Robot Operating .. (9)
      • Robot: Positioning (8)
      • Robot: Planning & Control (7)
    • Study: DeveloperTools(DevTo.. (83)
      • DevTool: Git (12)
      • DevTool: CMake (13)
      • DevTool: NoSQL(Elastic, Mon.. (25)
      • DevTool: Container (17)
      • DevTool: IDE (11)
      • DevTool: CloudComputing (4)
    • ์ธ์ƒ์„ ์‚ด๋ฉด์„œ (64)
      • ๋‚˜์˜ ์ทจ๋ฏธ๋“ค (7)
      • ๋‚˜์˜ ์ƒ๊ฐ๋“ค (42)
      • ์—ฌํ–‰์„ ๋– ๋‚˜์ž~ (10)
      • ๋ถ„๊ธฐ๋ณ„ ํšŒ๊ณ  (5)

๊ฐœ๋ฐœ์ž ๋ช…์–ธ

โ€œ ๋งค์ฃผ ๋ชฉ์š”์ผ๋งˆ๋‹ค ๋‹น์‹ ์ด ํ•ญ์ƒ ํ•˜๋˜๋Œ€๋กœ ์‹ ๋ฐœ๋ˆ์„ ๋ฌถ์œผ๋ฉด ์‹ ๋ฐœ์ด ํญ๋ฐœํ•œ๋‹ค๊ณ  ์ƒ๊ฐํ•ด๋ณด๋ผ.
์ปดํ“จํ„ฐ๋ฅผ ์‚ฌ์šฉํ•  ๋•Œ๋Š” ์ด๋Ÿฐ ์ผ์ด ํ•ญ์ƒ ์ผ์–ด๋‚˜๋Š”๋ฐ๋„ ์•„๋ฌด๋„ ๋ถˆํ‰ํ•  ์ƒ๊ฐ์„ ์•ˆ ํ•œ๋‹ค. โ€

- Jef Raskin

๋งฅ์˜ ์•„๋ฒ„์ง€ - ์• ํ”Œ์ปดํ“จํ„ฐ์˜ ๋งคํ‚จํ† ์‹œ ํ”„๋กœ์ ํŠธ๋ฅผ ์ฃผ๋„

์ธ๊ธฐ ๊ธ€

์ตœ๊ทผ ๊ธ€

์ตœ๊ทผ ๋Œ“๊ธ€

ํ‹ฐ์Šคํ† ๋ฆฌ

hELLO ยท Designed By ์ •์ƒ์šฐ.
DrawingProcess

๋“œํ”„ DrawingProcess

[IDE] VSCode Python ๋””๋ฒ„๊น… ํ™˜๊ฒฝ ์„ธํŒ…(launch.json): feat. ๋ชจ๋“  ์ค‘๋‹จ์ ์—์„œ ๋ฉˆ์ถ”๋„๋ก
Study: DeveloperTools(DevTool)/DevTool: IDE

[IDE] VSCode Python ๋””๋ฒ„๊น… ํ™˜๊ฒฝ ์„ธํŒ…(launch.json): feat. ๋ชจ๋“  ์ค‘๋‹จ์ ์—์„œ ๋ฉˆ์ถ”๋„๋ก

2024. 2. 16. 10:45
๋ฐ˜์‘ํ˜•
๐Ÿ’ก ๋ณธ ๋ฌธ์„œ๋Š” Visual Studio Code๋ฅผ ํ™œ์šฉํ•œ Python ๋””๋ฒ„๊น… ํ™˜๊ฒฝ ์„ธํŒ… ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค.
์šด์˜์ฒด์ œ ๋ณ„๋กœ ์ง€์›๋˜๋Š” ์ปดํŒŒ์ผ๋Ÿฌ์— ์ฐจ์ด๊ฐ€ ์žˆ์–ด ์šด์˜์ฒด์ œ๋ณ„๋กœ ์ผ๋ถ€ ์ƒ์ดํ•  ์ˆ˜ ์žˆ์œผ๋‹ˆ ๋ณธ์ธ์˜ ์šด์˜์ฒด์ œ๋ฅผ ํ™•์ธํ•˜๊ณ  ๊ทธ์— ๋งž์ถฐ์„œ ์ง„ํ–‰ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

๋ฏธ๋ฆฌ ์•Œ์•„์•ผ ํ•  ์  (์ฃผ์˜์‚ฌํ•ญ)

VSCode์—์„œ ๋””๋ฒ„๊น…์‹œ ํ”„๋กœ์ ํŠธ์˜ ์ƒ์œ„์— ์žˆ๋Š” .vscode/ํด๋” ๋‚ด์— task.json๊ณผ launch.json์„ ์•„๋ž˜์™€ ์œ ์‚ฌํ•˜๊ฒŒ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. VScode์˜ ๋””๋ฒ„๊น…์„ ์‹คํ–‰ํ•˜๋ฉด launch.json์ด ์‹คํ–‰๋˜๋Š”๋ฐ, ์ด๋•Œ preLaunchTask ๋ผ๋ฒจ์ด ์žˆ๋‹ค๋ฉด task.json์—์„œ label์ด ๋™์ผํ•œ ๊ฒƒ์„ ์ฐพ๊ณ  task.json ์ž‘์—…์„ ์‹คํ–‰ํ•œ ํ›„ launch.json์ด ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. 

๊ทธ๋ž˜์„œ C++์˜ ๋””๋ฒ„๊น… ํ™˜๊ฒฝ์„ ์„ธํŒ…ํ•  ๊ฒฝ์šฐ, task.json์— ๋นŒ๋“œํ•  ์ž‘์—…์„ ๋ช…์‹œํ•˜๊ณ  launch.json์—์„œ ์‹คํ–‰ํŒŒ์ผ์„ ์‹คํ–‰ํ•˜๋„๋ก ๊ตฌ์„ฑํ•˜๋Š”๋ฐ, python์˜ ๊ฒฝ์šฐ ๋ฐ”๋กœ ์‹คํ–‰ํ•˜๋ฉด ๋˜๊ธฐ์— launch.json๋งŒ ์ž‘์„ฑํ•ด๋„ ๋ฉ๋‹ˆ๋‹ค.

ํ•˜๋‹จ์—์„œ json ํŒŒ์ผ์— ๋Œ€ํ•œ ์„ค๋ช…์„ ํ•ด์ค„ ์˜ˆ์ •์ด๋‹ˆ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค.

VSCode python ๋””๋ฒ„๊น… ํ™˜๊ฒฝ ์„ธํŒ…

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",
    "configurations": [
        {
            "name": "Python Debugger: Current File",
            "type": "debugpy",
            "request": "launch",
            "program": "${workspaceRoot}/yolact/eval.py",
            "args": [
                "--config", "custom_config_ty_yolactplus",
                "--score_threshold", "0.2",
                "--trained_model", "/home/avs/yolact/yolact/weights/resnet101_construct_0131_con2/customty_yolactplus_139_7000.pth",
                // "--trained_model", "/home/avs/yolact/yolact/weights/resnet101_construct_0131_merged_plus_fhd/customty_yolactplus_111_110000.pth",
                "--images", "/home/avs/dataset/train_exd/con2:/home/avs/dataset/result_vis/result_vis_yolactplus/con2_merged"
            ],
            "console": "integratedTerminal"
        }
    ]
}
  • "type": debugpy๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  • "program": ๋””๋ฒ„๊น…ํ•  ์‹คํ–‰ํŒŒ์ผ์˜ ์ ˆ๋Œ€๊ฒฝ๋กœ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  • "args": ๋””๋ฒ„๊น…ํ•  ์‹œ ์‹คํ–‰ํŒŒ์ผ์˜ ์˜ต์…˜์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. 

+ VScode: ๋ชจ๋“  ์ค‘๋‹จ์ ์—์„œ ๋ฉˆ์ถ”๋„๋ก ์„ค์ •

  1. ์„ค์ •: ์ƒ๋‹จ๋ฐ” -> ๊ธฐ๋ณธ์„ค์ • -> ์„ค์ •(command + ,)
  2. ๋ชจ๋“  ์ค‘๋‹จ์ ์—์„œ ๋ฉˆ์ถ”๊ธฐ: breakpoint ๊ฒ€์ƒ‰ ํ›„ 'Debug: Allow Breakpoints Everywhere' ์ฒดํฌ

 

๋ฐ˜์‘ํ˜•
์ €์ž‘์žํ‘œ์‹œ ๋น„์˜๋ฆฌ ๋ณ€๊ฒฝ๊ธˆ์ง€ (์ƒˆ์ฐฝ์—ด๋ฆผ)

'Study: DeveloperTools(DevTool) > DevTool: IDE' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[IDE] Google Colab์„ ์œ„ํ•œ ํŒ: ์„ธ์…˜ ์œ ์ง€, GPU/TPU ํ• ๋‹น, Google Drive ์—ฐ๋™, Package Updata ๋ฐ˜์˜  (0) 2023.07.27
[IDE] ๋น„๋ฐ€๋ฒˆํ˜ธ ์—†์ด VSCode๋กœ ์›๊ฒฉ ์„œ๋ฒ„ ์ ‘์†ํ•˜๊ธฐ(feat. VSCode Remote Development)  (0) 2023.05.17
[IDE] VSCode Golang ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ • (feat. ChatGPT, HTTP/2)  (0) 2023.02.16
[IDE] Intellij Springboot ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ •(feat. spring initializr)  (0) 2023.02.14
[IDE] VSCode Springboot ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ • (MacOS M1)  (0) 2023.01.21
    'Study: DeveloperTools(DevTool)/DevTool: IDE' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€
    • [IDE] Google Colab์„ ์œ„ํ•œ ํŒ: ์„ธ์…˜ ์œ ์ง€, GPU/TPU ํ• ๋‹น, Google Drive ์—ฐ๋™, Package Updata ๋ฐ˜์˜
    • [IDE] ๋น„๋ฐ€๋ฒˆํ˜ธ ์—†์ด VSCode๋กœ ์›๊ฒฉ ์„œ๋ฒ„ ์ ‘์†ํ•˜๊ธฐ(feat. VSCode Remote Development)
    • [IDE] VSCode Golang ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ • (feat. ChatGPT, HTTP/2)
    • [IDE] Intellij Springboot ๊ฐœ๋ฐœํ™˜๊ฒฝ ์„ค์ •(feat. spring initializr)
    DrawingProcess
    DrawingProcess
    ๊ณผ์ •์„ ๊ทธ๋ฆฌ์ž!

    ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”