In this video, Adrien Piquerez, a software engineer at the Scala Center, shows you how to debug a Scala 3 application in VS Code. We debug a small multithreaded webserver program, to show how to start the debugger, walk through the code step by step, switch between threads, inspect the runtime values and more.
0:00 Introduction
1:31 Getting Started
4:30 Debug Steps
7:00 Threads
8:40 Debug Console
10:11 Watches
10:47 Logpoints
12:00 Conditional Breakpoint
12:40 Launch Configurations
15:15 Bonus
Extra links
Installing Visual Studio Code
https://code.visualstudio.com/download/
Intstalling Metals, the Scala extension for VS Code
https://scalameta.org/metals/docs/edi...
Scala 3 example project
https://github.com/adpi2/scala3full...