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
On this page of the site you can watch the video online Configuring VSCode to Debug PyTest with a duration of hours minute second in good quality, which was uploaded by the user 0xdf 07 July 2023, share the link with friends and acquaintances, this video has already been watched 5,389 times on youtube and it was liked by 105 viewers. Enjoy your viewing!