Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ptvsd debugger component. #23336
I've been using this custom component for a while to allow the ptsvd debugger to attach to my production hass system.
Time to submit it!
Example entry for
Can we just exclude it from code coverage? I have tested it by hand, test cases will be annoying to develop because they'll all need to be mocked, and won't really prove anything much.
Edit: actually will do a test case, mostly for the bootstrap code.
Have figured out why coverage can't work: as soon as the ptvsd library is loaded, the coverage debugger is cut off. There's no real way to test coverage of the component without this happening because it happens as soon as ptvsd is imported.
The supplied test does cover the changes to bootstrap anyhow, so that's basically as good as it gets.