Add note about minimatch `matchBase` having a `debug: true` option
See original GitHub issue@jennifer-shehane commented on Wed Aug 30 2017
A user was having an issue determining why their cy.route()
url was not matching their API calls. By passing this debug option, it helped them determine the issue. We should probably include a note about this in our cy.server()
doc.
cy.server({
urlMatchingOptions: {
debug: true
}
})
@brian-mann commented on Wed Aug 30 2017
This is also applicable to cy.route
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Cypress.minimatch
Use Cypress.minimatch to test out glob patterns against strings. ... We're adding the { matchBase: true } option because under the hood Cypress...
Read more >https://js9.si.edu/js9/onode_modules/glob/README.md
You can make glob treat dots as normal characters by setting `dot:true` in the options. ### Basename Matching If you set `matchBase:true` in...
Read more >micromatch - npm
A replacement and faster alternative to minimatch and multimatch. ... Returns true if any of the given glob patterns match the specified ...
Read more >grunt.file - Grunt: The JavaScript Task Runner
Note : all file paths are relative to the Gruntfile unless the current working ... Added in 0.4.2 ... The options object has...
Read more >Debugging in WordPress – WordPress.org Forums
Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the ... NOTE: You must insert this BEFORE /* That's all,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, this is still open. Yes, examples should be added to those 2 documents.
Excited to have a first time contributor! 🙌 Let me know if you have any questions.
Hi @jennifer-shehane - is this still open? Are these the pages impacted?
https://docs.cypress.io/api/commands/server.html#Options https://docs.cypress.io/api/commands/route.html#Debugging I can update if so… It’ll be a first on github for me, but I think I got it. Let me know of any special instructions or permissions required. Thanks!