6

crud boy 应该如何 debug 和处理前端的异常呢?

 1 year ago
source link: https://www.v2ex.com/t/931413
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  问与答

crud boy 应该如何 debug 和处理前端的异常呢?

  chuck1in · 1 小时 50 分钟前 · 293 次点击

写了一些页面,框架用的是 sveltekit+ts 。现在页面报错了想 debug 看一下,但是不知道如何入手。 直接在浏览器里面 debug 的话,由于编译过的内容导致代码对不上,这该如何是好呢?

一般来说前端的 debug 的最佳时间是什么呢? 另外现在的页面都会发送很多 ajax ,这些 ajax 有些报错了,有些没报错,应该如何处理这些报错的 ajax ?

谢谢各位大佬。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK