Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
俺とVSCode Python Debugger Extension
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Satoru Takeuchi
PRO
October 19, 2024
Technology
380
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
cpコマンドはディスク上でデータを コピーしないことがある
sat
PRO
3
44
114-ファイルのshallow_copy.pdf
sat
PRO
2
26
113-Btrfsのスナップショット.pdf
sat
PRO
0
9
システム強制終了時にファイルシステムの整合性を保つ~ コピーオンライト編 ~
sat
PRO
0
54
システム強制終了時に ファイルシステムの整合性を保つ ~ ジャーナリング編 ~
sat
PRO
2
61
ファイルシステムの整合性を回復するfsck
sat
PRO
1
62
小学校5,6年生向けキャリア教育 大人になるまでの道
sat
PRO
8
5k
ファイルシステムの不整合
sat
PRO
2
150
書籍執筆での生成AIの活用
sat
PRO
2
520
Other Decks in Technology
See All in Technology
20260619 私の日常業務での生成 AI 活用
masaruogura
1
240
SONiCのLinuxベースを活かしたZabbix監視
sonic
0
260
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
5
1.6k
【Snowflake Summit 2026 Recap!!】Snowflake Summit Deep Dive: Security & Governance
civitaspo
1
290
脱SaaS!FDEを支えるプロビジョニングと分離設計
knih
0
250
生成 AI 実践ガイド (概略版) AIガバナンス編
asei
0
150
FPC(フレキシブル)基板にZephyr実装してみた。
iotengineer22
0
140
Comment regagner la souveraineté de vos données tout en étant payé grâce à Nostr !
rlifchitz
0
110
感情と身体を置き去りにしない、エンジニアの生きのこり方 ──いまから、ここから「自分の状態」を扱うという選択
saorimurooka
0
160
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
310
SONiCの統計情報を取得したい
sonic
0
260
Agile and AI Redmine Japan 2026
hiranabe
3
400
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
150
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
120k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
170
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
4 Signs Your Business is Dying
shpigford
187
22k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
320
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
RailsConf 2023
tenderlove
30
1.5k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
620
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
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