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
Effective Debugging Apps in VS Code
Search
murajun1978
November 15, 2018
Programming
1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Effective Debugging Apps in VS Code
My LT Slide
Event:
https://ateam.connpass.com/event/104825/
murajun1978
November 15, 2018
More Decks by murajun1978
See All by murajun1978
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
1.5k
How to Enjoy the Murajun’s Style
murajun1978
0
120
Building Tebukuro with Hotwire and Rails
murajun1978
0
1.6k
Zeitwerk integration in Rails 6.0
murajun1978
0
150
Efficient development with GraphQL
murajun1978
0
340
tebukuro
murajun1978
0
150
Shinosaka.rb #17 Hands on
murajun1978
0
74
New Features in Rails 4.2
murajun1978
0
970
shinosakarb #11 Rails 4 Pattenrs
murajun1978
1
190
Other Decks in Programming
See All in Programming
運用ダッシュボードの設計を誰も教えてくれないのだけどみなさんどうしてるんですか? - チームに監視するという文化を根付かせるための第一歩を踏みたい -
satoshi256kbyte
1
140
「人を評価する AI」の設計と実装
ryoyanara
0
230
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
100
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
120
源内ハンズオン概要編
hideg
0
210
Cloudflare is Agents
chimame
0
180
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
390
バグを直したら useEffect が消えた
colorful12
3
690
My Marp Sample
sinoue0108
0
110
今さら聞けない .NET CLI
htkym
0
210
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
19k
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1369
210k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Producing Creativity
orderedlist
PRO
348
40k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
730
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
We Are The Robots
honzajavorek
0
310
Making the Leap to Tech Lead
cromwellryan
135
10k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
270
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
310
Code Reviewing Like a Champion
maltzj
528
40k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Transcript
Effective Debugging React Apps in VS Code
About me むらじゅん (@murajun1978) Skils: Node.js, React, Ruby, Rails, GraphQL
Community: Shinosaka.rb, Rails Follow-up Osaka
Shinosaka.rb #32 https://shinosakarb.doorkeeper.jp/events/82341
No more Print debug
Debugging is one of the important skills for Programmer
Next.js debugging in VS Code
Build-in node.js debugger
Debugging of the Render process
"configurations": [ { "type": "chrome", "request": "launch", "name": "Debug Render",
"url": "http://localhost:3000", "webRoot": "${workspaceFolder}" }, { "type": "node", "request": "launch", "name": "Debug Server", "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/next", "runtimeArgs": [ "--inspect", ], "port": 9229, } ], "compounds": [ { "name": "Debug Next.js", "configurations": ["Launch Chrome", "Debug Server"] } ]
None
Debugging of Node process
"configurations": [ { "type": "chrome", "request": "launch", "name": "Debug Render",
"url": "http://localhost:3000", "webRoot": "${workspaceFolder}" }, { "type": "node", "request": "launch", "name": "Debug Server", "runtimeExecutable": "node", "runtimeArgs": [ "--inspect", "server.js" ], "port": 9229, } ], "compounds": [ { "name": "Debug Next.js", "configurations": ["Launch Chrome", "Debug Server"] } ]
None
Rails debugging in VS Code
None
None
Extension: Ruby
Gems ruby-debug-ide https://github.com/ruby-debug/ruby-debug-ide debase https://github.com/denofevil/debase
Not stopping on breakpoint
gem 'ruby-debug-ide', '0.7.0.beta6' gem 'debase', '0.2.3.beta2'
VS Code Recipes https://github.com/Microsoft/vscode-recipes
No more Print debug
Effective debugging with VS Code
Thank you