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
70
Linuxカーネルの インタフェースは変わりうる?
sat
PRO
1
95
あなたの知らないバージョン命名規則
sat
PRO
3
900
Rook: Intro and Deep Dive with Ceph
sat
PRO
1
64
Machine Check Exception
sat
PRO
2
66
バイナリダンプの模様を読む
sat
PRO
0
89
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
89
114-ファイルのshallow_copy.pdf
sat
PRO
2
58
113-Btrfsのスナップショット.pdf
sat
PRO
0
40
Other Decks in Technology
See All in Technology
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
230
事業課題から技術的負債に向き合う
sansantech
PRO
2
2k
Issue 駆動でスペシャリストの意図を届ける、AI 実装のアクセシビリティ向上
thkt
0
120
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
220
品質と信頼性を地続きにする
grimoh
2
810
SREは、MCPとAutopilotをこう使え!
kazumax55
3
910
.NET WebAssemblyで実現するクライアントサイドAI推論:NuGetからViteまで、2つのエコシステムを繋ぐビルド戦略
yamachu
0
210
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
110
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
1.8k
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
250
Genieを崇めよ
kameitomohiro
0
170
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
330
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
300
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
360
30 Presentation Tips
portentint
PRO
1
400
Practical Orchestrator
shlominoach
192
12k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
540
A better future with KSS
kneath
240
18k
Odyssey Design
rkendrick25
PRO
2
810
Designing Powerful Visuals for Engaging Learning
tmiket
1
570
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
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