Is there a way to evaluate variable in source map inside the Chrome Developer tools?

喜欢而已 提交于 2020-01-03 15:36:54

问题


I'm debugging a GWT app using SuperDevMode in Chrome. What it gives me is the access to Java source maps in devtools.

My problem is that when I'm debugging the code I would like to evaluate some of the variables.

My question is - is it possible to evaluate a variable from the source map?

If not - is it possible to navigate from the source map to the compiled javascript code?


回答1:


Closest I can get to this is "Store as global variable" (Chrome 75):

It will get named something like temp1 in the console. You can then interact with it like any other variable. If there's a better way I'd love to know about it.



来源:https://stackoverflow.com/questions/33149499/is-there-a-way-to-evaluate-variable-in-source-map-inside-the-chrome-developer-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!