Configuring VSCode to Debug PyTest

Veröffentlicht am: 07 Juli 2023
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Configuring VSCode to Debug PyTest mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer 0xdf 07 Juli 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,389 Mal angesehen und es wurde von 105 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!