July 2nd, 2017
There are numerous tools out there in the market and picking the right tool to help you troubleshoot an issue or understand the underlying workings is very important. We would like to share a few tools which benefited us while we were troubleshooting issues.
Inspect an element is a tool embedded in your browser to check the underlying code of a particular web page, you just have to right-click on the browser and you can find “inspect” you click on that you’ll be able to find the HTML, CSS, and styles. you can edit the elements in the Document Object Model (DOM) and change the CSS styles etc.
There are different tools for debugging for different browsers.
Firefox: Firefox Developer Tool
Chrome: Chrome Developer Tool
Safari: Safari Web Inspector
Internet Explorer: Microsoft Edge F12 Dev Tools
Opera: Opera Developer Tools
CSS debugger: Pesticide is a simple stylesheet to debug your CSS layouts. It is also available as a Chrome extension. It places an outline on every element that can help you figure out what’s wrong with your layout. You can use it by inserting this “<link rel=” stylesheet” href=”css/pesticide.css”>” inside your header tag.
HttpFox: HTTPFox is a packet sniffer add-on for Firefox or Edge browsers. The HttpFox is used to analyze the HTTP traffic between the browser and web server.
We will be able to monitor:
- Request and Response header.
- Query String.
- Post Data.
Open any page in the Firefox browser. Start the HttpFox (In Mac OS open the view tab on the top and click on the HttpFox) Press start and the data starts showing up as soon as you visit a web URL. Various tabs can be seen such as headers, cookies, query-string, post data, content. These are basically related to the web page you are browsing. It is very useful to understand the network hops, query parameters that get passed around and also to review the redirects with each request.
Header: These allow the client and server to pass additional information back and forth within a request and response. The request header tab shows the information about the resources that are fetched from the server and the Response header shows additional information about responses like location and responses that need to be sent to the client.
Cookies: A cookie is basically a text file stored by the webserver on the users’ machine. The cookies are accessible only to the server which creates it. The cookie tab contains received cookies that are sent by the server to the browser.
Query String: Query string is the parameters(key/value pairs) that can be reviewed within the query string window. These key-value pairs are often passed by the webpage to external servers.
Post Data: In the post data tab we can see the data being posted for eg: the data posted from the contact form we can check whether all the data are being posted or not.
Content: The content tab in the HttpFox contains the HTML contents of the web page you are monitoring. This can be further analyzed by using the Inspect element which is much better suited to analyze the layout and content within a web page.
Read our post “Ensure Data Consistency Between Databases with dblink” to understand how we at Intentwise deal with the challenge of replicating across data sources.
Intentwise is a Chicago-based technology company that helps brands, sellers, and agencies maximize returns from Amazon advertising spend. Intentwise’s industry-leading SaaS platform provides impactful recommendations and automation to accelerate advertising optimization while saving valuable time for advertisers.