Hello, does anyone know how to attach debugger to ...
# pact-jvm
t
Hello, does anyone know how to attach debugger to a pact provider test?
m
It should just be however you debug the language
What are you wanting to get from the debugger?
t
my project is heavily dependent on mysql, infact, for each request to my provider, there is some tenant info on the jwt. The servlet filter extract this tenant info and build a connection to a dedicated mysql instance and pass it to subsequence calls of the same http request. This behavior is different when running the provider locally (since there is only 1 instance of mysql), thus i need to put the breakpoint in the servlet filter and trace the code from there. I was getting class not found error when I click on debug the provider test but i just realized it has nothing to do with the test itself but rather my m2 repo is corrupted
👍 1
m
Argh, no fun 😉 Sounds like you’re back on track though