Configuring VSCode to Debug PyTest

Published: 07 July 2023
on channel: 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


Watch video Configuring VSCode to Debug PyTest online without registration, duration hours minute second in high quality. This video was added by user 0xdf 07 July 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,389 once and liked it 105 people.