NuSphere Forums Forum Index
NuSphere Forums
Reply to topic


Joined: 31 May 2017
Posts: 54
Reply with quote
dmitri wrote:
> I try to start profiling on my remote project

Details?
How do you run profiling?


I simply select the profiling icon in the dbg toolbar and press f5.

Please note that the same procedure without openvpn works. I use phped for 15 years Smile
This is just the first time I use phped ssh tunnel + openvpn
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8103
Reply with quote
Dbg toolbar in browser I guess? Can you try that in the IDE by clicking profiler icon in the IDE toolbar?
As of browser toolbar, obviously it wasn't configured to instruct the debugger to use ssh tunnel. What I noticed is "clienthost" in the error message. IT should be either localhost or 127.0.0.1 -- they are the tunnel connection points for debugger to connect to.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 May 2017
Posts: 54
Reply with quote
good guess! yes, Dbg toolbar in the browser. I've tried changing clienthost with localhost and 127.0.0.1, but none works Sad

I still see
Reason: failed to connect to the client at <vpn ip>:7869, please make sure that IDE is running

but if I run the profiler in PHPED it works!

Do you have any idea on what setting I should put in the DBG browser options to make it working from there?

Extra (OT) question: is there a reason that SQL and Memory Profiler works only if profiler was started in PHPED and not in the browser?
View user's profileFind all posts by blacktekSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8103
Reply with quote
blacktek wrote:
good guess! yes, Dbg toolbar in the browser. I've tried changing clienthost with localhost and 127.0.0.1, but none works Sad

but if I run the profiler in PHPED it works!

Do you have any idea on what setting I should put in the DBG browser options to make it working from there?

Extra (OT) question: is there a reason that SQL and Memory Profiler works only if profiler was started in PHPED and not in the browser?


In IDE it works because IDE knows about your project. As of toolbar -- it has no clue about it.
If you're working with this toolbar https://chrome.google.com/webstore/detail/dbg-debugger-toolbar/jpfjdjkohmopcgecijakgemceodpjpdp?hl=en-US
just enter localhost as "development machine".

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 31 May 2017
Posts: 54
Reply with quote
Yes I'm working with that toolbar, but local host is not working for me.
Should I restart the browser after changing this setting?

Is it normal that sql profiler never works from browser toolbar?
View user's profileFind all posts by blacktekSend private message
Failed to start DBG session using ssh tunnel and openvpn
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 2 of 2  

  
  
 Reply to topic