阅读背景:

如何在Cloud9中查看javascript控制台

来源:互联网 

Right now I'm using a Chromebook that does not allow me to "inspect element" on a webpage.

现在我正在使用Chromebook,它不允许我在网页上“检查元素”。

I would like to be able to view the javascript console log from within Cloud9.

我希望能够从Cloud9中查看javascript控制台日志。

Cloud9 seems to be able to "preview" a webpage, but it doesn't seem to have the option to view the console log from that webpage.

Cloud9似乎能够“预览”网页,但它似乎没有从该网页查看控制台日志的选项。

I feel like I should be able to do this with the debugger, but it may be impossible.

我觉得我应该能够用调试器来做这件事,但这可能是不可能的。

A way to do this (or verification that it is impossible) would be appreciated.

一种方法(或验证它是不可能的)将不胜感激。

2 个解决方案

#1


1  

Javascript console log is not possible in the "client" in Cloud9.

Cloud9中的“客户端”无法使用Javascript控制台日志。

Inspecting a single element on Chromebook is possible. If you want to highlight a single element, "right click" the element and select "Inspect element" from the menu.

可以检查Chromebook上的单个元素。如果要突出显示单个元素,请“右键单击”该元素,然后从菜单中选择“检查元素”。

Source: https://answers.yahoo.com/question/index?qid=20140314102249AA5VbJJ

#2


1  

Cloud9 debugger works for server side code, it doesn't allow to inspect pages in the browser.

Cloud9调试器适用于服务器端代码,它不允许检查浏览器中的页面。


分享到: