macOS 10.13
Safari Developer Help
-
- Debugging overview
- Add a JavaScript breakpoint
- Edit a breakpoint
- Add conditions to JavaScript breakpoints
- Stepping through JavaScript code
- Add, disable, or delete a DOM breakpoint
- Add an XHR breakpoint
- Add and modify watch expressions
- Highlight type and code coverage during code execution
- Log messages with the console
- Debugging Web Workers

Edit JavaScript
You can edit JavaScript files in the Resources tab of Web Inspector if they are local resources and save (Command-S) it to file.
In the left sidebar of the Resources tab, select an item in the Scripts folder, then begin editing the code in the main pane.
See alsoEditing overviewEdit CSS rules
感谢您的反馈。