问题描述
我目前正在学习AngularJS,并认为我将安装netbeans,因为它支持通过插件在chrome中进行调试.或声称至少...
I'm learning AngularJS at the moment and thought I would install netbeans as it supports debugging in chrome via a plugin. Or claims to at least...
我遵循了我发现的用户指南和教程,并且似乎总是在同一时间步履蹒跚:
I have followed the user guides and tutorials that I've found and always seem to falter at the same point:
- 安装Netbeans
- 安装Chrome插件
- 创建一个简单的示例项目
- 将默认网络浏览器设置为带有插件的Chrome
- 点击运行
这时,我总是看到Chrome中加载了一个空白页.我怀疑这是一个错误,因为所有在线资源似乎都可以确保我能够在浏览器中看到默认的index.hmtl页面.
At this point I always see a blank page loaded in Chrome. I suspect that this is a bug as all of the resources online seem sure that I should be able to see the default index.hmtl page in my browser...
我在MAC上运行:
我的插件版本是:
我的Netbeans版本:
My Netbeans version:
我在Netbeans中的默认浏览器:
My Default Browser in Netbeans:
有人知道运行此配置有任何问题吗?无论我做什么,当我点击run时,我只会看到一个URL变形的空白页面:
Does anyone know of any issues with running this configuration? No matter what I do I just see a blank page with a mangled URL like so when I hit run:
http://file:///private/var/folders/4l/3gq9477n6_952q1ztvz5ngdckcdyx4/T/blank2587611836421039861.html
当我在VI中打开此文件时,在其中看到一行:
When I open this file in VI I see one line in it:
<html :netbeans_temporary="true"></html>
推荐答案
这似乎对我来说是一种解决方法:
This seemed to work as a workaround for me:
- 打开项目配置,然后将浏览器从具有netbeans连接器的Chrome更改为Chrome
- 运行项目(Chrome中应显示正确的页面)
- 单击Chrome窗口右上角的Netbeans连接器
- 选择在Netbeans中调试"(您应该在窗口顶部看到黄色的信息提示)
- 返回Netbeans并单击调试主项目"按钮.
我的配置是os/x High Sierra,Netbeans 8.2
My configuration is os/x High Sierra, Netbeans 8.2
这篇关于Chrome Netbeans插件仅显示空白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!