-
Notifications
You must be signed in to change notification settings - Fork 5
Debugging
Ben Bucksch edited this page Jan 15, 2025
·
4 revisions
- In the Mustang main window, press F12 or Ctrl-Shift-I to start the Inspector
- Tab "Sources"
- Set breakpoints, on the bar on the left side of the source line, click on the red dot, which appears on hover
- The right panel has the debugger inspection
- Use
netstat
, look forLISTEN
of port 5453 (backend port, on debug builds) or 5355 (release builds), and look for the process ID (PID
) of the process. - Use a debugger to connect to that process.
TODO Document how.
- Visual Studio Code
- App navigation bar, [Test] button
- Left sidebar, hover over a specific test file name
- [Debug test] (appears when you hover over the test file name)
- Set breakpoints in the source editor, on the left of the line number, clicking the red dot, which appears on hover
- Repeat step 4
TODO Alternatives to Visual Studio Code