我正在尝试设置Xdebug因为我厌倦了使用回声和var_dumps.我使用Atom作为我的IDE与php-debug插件.我正在使用laravel Homestead vm作为服务器.转发端口9000到9999 Atom安装了插件,其中包含以下设置:

我在Atom中设置断点,我浏览到我的页面,但断点不会触发.我有预感它与IDE密钥有关,但我不知道如何继续.

有没有人知道原子的IDE键?或者还有其他我想念的东西?
编辑:我已将以下内容添加到xdebug.ini:
xdebug.auto_trace = 0
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_return = 0
xdebug.collect_vars = "Off"
xdebug.default_enable = "On"
xdebug.dump.COOKIE = ""
xdebug.dump.FILES = ""
xdebug.dump.GET = ""
xdebug.dump.POST = ""
xdebug.dump.REQUEST = ""
xdebug.dump.SERVER = ""
xdebug.dump.SESSION = ""
xdebug.dump_globals = 1
xdebug.dump_once = 1
xdebug.dump_undefined = 0
xdebug.extended_info = 1
xdebug.file_link_format = ""
xdebug.idekey = "VVVDEBUG"
xdebug.manual_url = "http://www.php.net"
xdebug.max_nesting_level = 100
xdebug.overload_var_dump = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = …Run Code Online (Sandbox Code Playgroud) 我正在尝试检测当前页面是从缓存加载还是新的副本。
我的body标签上注册了onPageShow回调。我可以看到它被触发了,但是我无法提供一种event.persisted实际上为真的情况。
我什至将Firefox置于离线模式,并且看到响应是从“网络”选项卡上的缓存中获取的,但是event.persisted仍然为false。
我正在尝试从Android设备发送/接收字符串.我一直在谷歌搜索过去3个小时,我找不到任何有效的东西.我得到的最接近的是:家伙
我收到这些错误:
02-19 15:44:17.680 4680-4680/com.example.jelle.bluetoothconnector W/System.err? at com.example.jelle.bluetoothconnector.BluetoothConnection.init(BluetoothConnection.java:38)
02-19 15:44:17.680 4680-4680/com.example.jelle.bluetoothconnector W/System.err? at com.example.jelle.bluetoothconnector.BluetoothConnection.<init>(BluetoothConnection.java:25)
02-19 15:44:17.680 4680-4680/com.example.jelle.bluetoothconnector W/System.err? at com.example.jelle.bluetoothconnector.ConnectorActivity.btnBluetooth_onCLick(ConnectorActivity.java:92)
02-19 15:44:17.680 4680-4680/com.example.jelle.bluetoothconnector W/System.err? at java.lang.reflect.Method.invoke(Native Method)
02-19 15:44:17.680 4680-4680/com.example.jelle.bluetoothconnector W/System.err? at java.lang.reflect.Method.invoke(Method.java:372)Run Code Online (Sandbox Code Playgroud)
谁能帮我?我只需要一些可以通过蓝牙发送/接收字符串的代码来启动我
谢谢!
sockets android bluetooth android-bluetooth bluetooth-socket
我希望将FOSElasticaBundle集成到我的symfony 3项目中.目前这个捆绑包不支持symfony 3.我正在研究我还能做些什么才能实现它?
我正在尝试从文件夹中的所有文件创建一个zip文件,但无法在线找到任何相关的代码段.我正在尝试做这样的事情:
DirectoryInfo dir = new DirectoryInfo("somedir path");
ZipFile zip = new ZipFile();
zip.AddFiles(dir.getfiles());
zip.SaveTo("some other path");
Run Code Online (Sandbox Code Playgroud)
很感谢任何形式的帮助.
编辑:我只想压缩文件夹中的文件,而不是它的子文件夹.
我有以下代码,我想将文本垂直居中放置在图像旁边。
.section_content {
width: 400px;
}
.section_content > ul > li > img {
width: 40px;
height: 40px;
padding: 5px;
}
.section_content > ul > li > a {
vertical-align: top;
}
.section_content > ul > li {
list-style-type: none;
}
.section_content > ul {
list-style-type: none;
padding-top: 45px;
padding-left: 5px;
}Run Code Online (Sandbox Code Playgroud)
<div class="section_content">
<ul>
<li><img src="img/linkedin.svg"><a href="https://be.linkedin.com/in/lel">LinkedIn</a></li>
<li>GitHUb</li>
</ul>
</div>Run Code Online (Sandbox Code Playgroud)
symfony ×2
android ×1
annotations ×1
atom-editor ×1
bluetooth ×1
c# ×1
color-scheme ×1
css ×1
homestead ×1
html ×1
javascript ×1
pageshow ×1
php ×1
reactjs ×1
sockets ×1
webstorm ×1
xdebug ×1
zip ×1
zipfile ×1