HOME TECH BLOGS COMPUTER ARCHITECTURE BOOKS ABOUT GITHUB

Debugging tools

Jul 28, 2025

This article aims at summarizing all the tools used for debugging a web application or computer.

1. Networking

1.1. DNS

  1. nslookup (Windows / Linux) allows to get information about DNS records.
  2. dig Linux a more advanced debugging tool, often pre-installed on Linux.
  3. dog Linux is a simple but powerful alternative to dig for DNS lookups.

1.2. Packet route analysis

  1. traceroute Linux can trace a packet through its different hops on the WAN network. Uses the packet TTL (incremented one by one) to get this info.
  2. tracert Windows Windows equivalent of traceroute
  3. mtr Linux Powerful linux diagnostic tool. It combines traceroute and ping

1.3. Host accessibility

  1. ping Linux / Windows
  2. gping Linux is a graphical and multitarget alternative to ping.

1.4. IP host configuration

  1. ip (Linux)
  2. ipconfig Windows

1.5. Low-level packet analysis

  1. tshark command-line, Using tshark
  2. WireShark GUI

2. Operating-system informations

2.1. Linux

Some of these tools are taken from Michael Hausenblas's Learning Modern Linux excellent book.

2.1.1. System info

# Get info about distribution
cat /etc/*-release
# Get info about Linux release (kernel)
cat /proc/version
# Print all information related to the system
uname -a

2.1.2. Hardware info

cat /proc/cpuinfo
cat /proc/meminfo
cat /proc/diskstats
sudo dmidecode -t bios

2.1.3. RAM, Users, Processes

2.1.4. File info

2.1.5. Redirections and pipes

2.1.6. 1.2.1.6 System performance

3. Command-line tools

3.1. Linux