Trying to get Remote Debugging Setup But getting IDE error in log
On our dev server we have xdebug setup with the following
xdebug.remote_autostart 1
xdebug.remote_handler dbgp
xdebug.remote_mode req
xdebug.remote_host 127.0.0.1
xdebug.show_local_vars 1
xdebug.remote_port=9005
xdebug.remote_log=/tmp/xdebug_remote.log
xdebug.remote_enable=1
xdebug.default_enable 1
I am trying to run php in listen mode on my local and i have setup xdebug to listen on port 9005 in the IDE. I use the bookmarklet on the browser on the site I am trying to debug. I get the debug popup and I choose to debug and then nothing happens and the site just stays trying to load until it times out.
The following is what I see in the logs so what is the argument that is null?
2011-09-28 10:43:17,223 [8208603] ERROR - plication.impl.ApplicationImpl - JetBrains PhpStorm 2.1.5 Build #PS-107.658
2011-09-28 10:43:17,223 [8208603] ERROR - plication.impl.ApplicationImpl - JDK: 1.6.0_26
2011-09-28 10:43:17,223 [8208603] ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM
2011-09-28 10:43:17,223 [8208603] ERROR - plication.impl.ApplicationImpl - Vendor: Apple Inc.
2011-09-28 10:43:17,223 [8208603] ERROR - plication.impl.ApplicationImpl - OS: Mac OS X
2011-09-28 10:43:17,224 [8208604] ERROR - plication.impl.ApplicationImpl - Last Action: PhpListenDebugAction
2011-09-28 10:44:26,261 [8277641] INFO - hp.connection.ServerConnection - Incoming connection on port 9,005 from 127.0.0.1
2011-09-28 10:44:26,652 [8278032] ERROR - plication.impl.ApplicationImpl - Argument 2 for @NotNull parameter of com/jetbrains/php/debug/xdebug/connection/PhpXDebugExternalConnectionHandler.handleConnection must not be null
java.lang.IllegalArgumentException: Argument 2 for @NotNull parameter of com/jetbrains/php/debug/xdebug/connection/PhpXDebugExternalConnectionHandler.handleConnection must not be null
at com.jetbrains.php.debug.xdebug.connection.PhpXDebugExternalConnectionHandler.handleConnection(PhpXDebugExternalConnectionHandler.java)
at com.jetbrains.php.debug.xdebug.connection.PhpXDebugExternalConnectionHandler.handleConnection(PhpXDebugExternalConnectionHandler.java:22)
at com.jetbrains.php.debug.connection.PhpDebugExternalConnectionHandler.bindToProject(PhpDebugExternalConnectionHandler.java:131)
at com.jetbrains.php.debug.connection.PhpDebugExternalConnectionHandler$1.initialized(PhpDebugExternalConnectionHandler.java:56)
at com.jetbrains.php.debug.xdebug.connection.PhpXDebugExternalConnectionHandler$4.onSuccessResponse(PhpXDebugExternalConnectionHandler.java:108)
at com.jetbrains.php.debug.xdebug.connection.PhpXDebugExternalConnectionHandler$4.onSuccessResponse(PhpXDebugExternalConnectionHandler.java:93)
at com.jetbrains.php.debug.connection.PhpDebugConnection.handleResponse(PhpDebugConnection.java:232)
at com.jetbrains.php.debug.connection.PhpDebugConnection$4.run(PhpDebugConnection.java:296)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
请先登录再写评论。
Figured I could of at least got one response by now to let me know what that argument is looking for, then I might be able to know what isn't set correctly if it is something I can do in the app at all.
Hello Dan,
Let's continue discuss the problem in comments for the submitted issue - http://youtrack.jetbrains.net/issue/WI-7740
Thank you for feedback!