Skip to content

Debugging

Ben Bucksch edited this page Jan 15, 2025 · 4 revisions

How to run the debugger

Frontend

  1. In the Mustang main window, press F12 or Ctrl-Shift-I to start the Inspector
  2. Tab "Sources"
  3. You can set breakpoints by clicking on the bar on the left side of the source line.
  4. The right panel has the debugger inspection

Backend

  1. Use netstat, look for LISTEN of port 5453 (backend port, on debug builds) or 5355 (release builds), and look for the process ID (PID) of the process.
  2. Use a debugger to connect to that process.

TODO Document how.

Tests

  1. Visual Studio Code
  2. Left bar, [Test] button
  3. Run a specific test in debug mode

TODO Alternatives to Visual Studio Code

Clone this wiki locally