postman 中使用console.log

编写postman 时候 有一个返回的数据 无法调试  虽然可以使用一些笨办法 设置到全局变量中 然后在查看  但是效率都非常高 

其实是可以使用JS中的 console.log()来调试的 

具体步骤 

1:Type chrome://flags inside your Chrome URL window

2:Search for "packed" or try to find the "Enable debugging for packed apps" setting

3:Enable the setting

4 :Restart Chrome


然后 在浏览器输入 chrome://inspect/#apps 回车 应该看下是否有该界面 


postman 中使用console.log_第1张图片

选择 inspect即可  

你可能感兴趣的:(postman 中使用console.log)