Mokku icon indicating copy to clipboard operation
Mokku copied to clipboard

After duplication of request last in the list does not work

Open Schnueggel opened this issue 3 years ago • 3 comments

I duplicate a mock then I have two request with the same Url matching pattern in the list. I change last one to respond with 403. Its aktiv. But it has no effect. The one in the list before if I activate it will work.

Schnueggel avatar Jan 13 '22 08:01 Schnueggel

Hi @Schnueggel,

Will look into it!

mukuljainx avatar Jan 15 '22 16:01 mukuljainx

@mukuljainx I can reproduce the issue, but Im having a hard time debugging it: I'm not sure how to access the local storage for the extension. I've read that people usually access a background page for their extensions as means of debugging, but we don't have one in mokku. How do you debug issues? Would it make sense to add a background page to help debugging issues?

Julioevm avatar Jan 25 '22 11:01 Julioevm

@Julioevm good point, I forget to tell few things.

We don't need a background page as we have devtools for devtools too, more on it Contributing.md (just added)!

I used to debug the panel by right clicking it opening the inspect (devtools) fo panel, as panel is a html page at the end it was possible before. Seems like chrome has disabled the context menu directly for some reason but it is still accessible, checkout the following for steps

https://github.com/mukuljainx/Mokku/blob/master/CONTRIBUTING.md

mukuljainx avatar Jan 25 '22 17:01 mukuljainx