Utilities

UTILITIES TRICKS

USE FIDDLER TO DEBUG FROM VISUAL STUDIO INSTEAD CRM SERVER

  1. Open Fiddler
  2. Select Tools > Options > HTTPS and select Decrypt HTTPS Traffic
  3. If there is any prompt, click in Trust the Fiddler Root certificate and Yes
  4. Click in Rules > Performance > Disable Caching
  5. Go to the Filter Tab > Show Only if URL Contains and your JS Name
  6. Clear Caching and Clear sessions
  7. Go to AutoResponder tab and select [x]Enable Rules” and [x]Unmatched Requests Passthrough
  8. Click Add Rule and enter in the prompt:
    • REGEX:(?insx).+(?‘nameofyourjavascript’?*.js)
    • Path to the file you want to debug
  9. Click Save
  10. Make sure everything is in Yellow.
  11. If JS it is not appearing in the Fiddler it is because it is being cached by Chrome
    • If it is, go to the Developer Tools > Network > [x]Disable Cache
  12. !!!!BE CAREFUL IF YOU ARE DOING THIS IN PRODUCTION AND ANY OF YOUR CODE IS UPDA

Join the newsletter