Configuring VSCode to Debug PyTest

Опубликовано: 07 Июль 2023
на канале: 0xdf
5,389
105

While doing an Advent of Code challenge, I found myself really wanting to debug PyTest. This video shows how I set that up.

VSCode Variables: https://code.visualstudio.com/docs/ed...
Repo for Advent of Code 2016 Solutions: https://gitlab.com/0xdf/aoc2016
Intro video for this event:    • Introduction [Revival of Code 2023 - ...  
Real Python post with templates: https://realpython.com/python-advent-...

☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf

[00:00] Introduction
[00:15] VSCode debug python script
[01:01] Doesn't run PyTest tests
[01:30] Looking at launch.json
[02:05] Adding PyTest configuration
[02:51] Hardcoding directory
[04:25] Using variables to get current directory
[05:01] Debugging PyTests

#ctf #adventofcode #revivalofcode #python


Смотрите видео Configuring VSCode to Debug PyTest онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь 0xdf 07 Июль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,389 раз и оно понравилось 105 людям.