在 Chrome DevTools 中禁用源映射

在 Chrome DevTools 中禁用源映射

问题描述:

是否有一种快速的方法可以从 Chrome DevTools 中显示的 jsx 代码切换到原始 ES5 并再次返回?

Is there a quick way to switch from the jsx code shown in Chrome DevTools to the raw ES5 and back again?

打开开发者工具,进入开发者工具的设置",然后在源"设置下取消选中Enable JavaScript Sourcemaps.

Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.