Don Figuerres
  • Posts
  • Cloud
    • AWS
      • Hosting a Website Using AWS S3
  • Hardware
    • Lenovo Swap Fn and Ctrl Keys
  • Programming Tutorials
    • Factorial
    • Fibonacci Sequence
  • Software Development
    • Common Tools for Software Development
    • Java
      • Java Performance Testing Using Zerocode
    • Tmux Settings
    • VS Code
      • Python Test Debugging Does Not Hit Breakpoint
  • Version Control
    • Git
      • Changing Committer, Author, and Email in Git
      • Git Connection Errors During Cloning
      • Global gitignore File
  • Virtualbox
    • CentOS 7 VirtualBox 5.2 Error
  • WSL2
    • Dark Theme in WSL2 GUI
Hero Image
VS Code Python Test Debugging Does Not Hit Breakpoint

I had this problem in Python development environment wherein a breakpoint is not hit while trying to debug tests. It turns out that this is a known issue and a work around is available via the launch.json file. { "version": "0.2.0", "configurations": [ { "name": "Debug Tests", "type": "python", "request": "launch", "purpose": [ "debug-test" ], "console": "integratedTerminal", "justMyCode": false, "env": { "PYTEST_ADDOPTS": "--no-cov" } } ] } Below is the explanation form Microsoft.

July 26, 2022 Read
Navigation
  • About
  • Skills
  • Experiences
  • Projects
  • Accomplishments
  • Education
  • Recent Posts
Contact me:
  • lyndonfiguerres@gmail.com

Toha Theme Logo Toha
Copyright © 2021-2022. donfiguerres.com. All rights reserved.
Powered by Hugo Logo