New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Ability to Specify Custom Profile When Debugging Tests #7131
Comments
@erinxocon Lets try a simple solution first and see if that helps. Add this to your launch json as a separate config. {
"name": "Debug Unit Test",
"type": "python",
"request": "test",
"justMyCode": false,
}, The run the test as you normally do, it should pick up this setting automatically. |
Trying, I did add a section to my launch.json with that on the advice from @luabud but it didn't seem to work! |
Ok this works! I had forgot the |
Howdy all!
I will copy and and paste my question/feature from twitter to here! I am debugging some unit tests with django using ptvsd. I need to step into code from another library but I cannot due to the JustMyCode feature. I can disable it in my launch.json but I'm not sure which profile is used when I hit debug test!
My current launch.json:
Debugging works just fine with this approach however when I debug a test individually I cannot step into code from other libraries due to the justMyCode restriction. I am not sure how to disable this when you are debugging tests.
I love ptvsd and it's integration with code! Fantastic work!
The text was updated successfully, but these errors were encountered: