Debugging Scala 3 in VSCode | Let's talk about Scala 3

Опубликовано: 11 Январь 2023
на канале: Xebia Functional (formerly 47 Degrees)
2,754
56

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 multi-threaded web-server 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/scala3-full-...