question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jennifer-shehanecommented, Sep 11, 2018

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.

1reaction
scottzoocommented, Sep 10, 2018

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found