Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
俺とVSCode Python Debugger Extension
Search
Satoru Takeuchi
PRO
October 19, 2024
Technology
400
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
俺とVSCode Python Debugger Extension
kanazawa.rb #146 LTスライドです
https://kzrb.doorkeeper.jp/events/178412
Satoru Takeuchi
PRO
October 19, 2024
More Decks by Satoru Takeuchi
See All by Satoru Takeuchi
119-多機能ファイルシステムBtrfs_のコピー.pdf
sat
PRO
1
78
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
110
あなたの知らないバージョン命名規則
sat
PRO
3
920
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
73
Machine Check Exception
sat
PRO
2
69
バイナリダンプの模様を読む
sat
PRO
0
110
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
110
114-ファイルのshallow_copy.pdf
sat
PRO
2
62
113-Btrfsのスナップショット.pdf
sat
PRO
0
46
Other Decks in Technology
See All in Technology
FOSS4Gを活用した自治体業務DXの試み
470715
0
150
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
370
おそらく日本で唯一のDevRelインターン生として
husengs7
0
180
生成AIで高い生産性を求められて、 悩み、乗り越えた話
mot_techtalk
2
170
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
7
2.6k
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.2k
12 個 Tool と、 4,096 Token
hlum
0
140
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
140
go-sqletch
moznion
0
140
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
190
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
170
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
310
Featured
See All Featured
Design in an AI World
tapps
1
350
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
280
Practical Orchestrator
shlominoach
192
12k
Unsuck your backbone
ammeep
672
58k
My Coaching Mixtape
mlcsv
0
350
Leo the Paperboy
mayatellez
10
2.4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
530
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
210
Into the Great Unknown - MozCon
thekraken
41
2.8k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Transcript
俺とVSCode Python Debugger Extension Oct. 19th, 2024 kanazawa.rb#146 Satoru Takeuchi
X: satoru_takeuchi 1
VSCode Python Debugger Extensionとは? • VSCodeからGUIで操作できるPython用デバッガ 2
使い方: breakpointを仕掛ける • ソースファイルの行番号の左あたりを押す 3
使い方: 実行 • Ctrl+Shift+Pの後に”Python Debugger: … : Pythonファイルのデバッグ”を押す ◦ F5を押してもいいよ
4
使い方: breakpointで止まる。後は好きにする 再開 step over step in step out 再起動
停止 5
デモ 6
Flaskアプリのデバッグもできるぞ • breakpointをしかける 7
疑問 • flaskアプリは”./app.py”ではなく”flask run ./app.py”のように動かす • さっきの単にファイルを実行するデバッグ方法は使えないぞ 8
ソリューション • Flask専用のデバッガ実行モードがある ◦ 他にもいっぱいモードがあるっぽい 9
デモ 10
flaskのrouteの仕組みを知りたい • route関数にbreakpointを仕掛ける • 設定ファイルを書き換えてライブラリコードもデバッグ対象にする 11
デモ 12
おわり • VSCode Python Debugger Extensionすごい • めっちゃ作り込んである 13