Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370443

Summary: Exclude requests for debugging
Product: z_Archived Reporter: Naveen Nayak <naveensnayak>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P2 CC: zhaozhongwei
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Naveen Nayak CLA 2012-02-02 09:47:39 EST
Build Identifier: M20110909-1335

This is not a bug 

This is a feature request and i am doing this request because i could not find this functionality in Eclipse. The search for bugs did not pull out anything neither did googling. If this feature already exists, i apologize and ask to be directed to the documentation. 

Related to : Eclipse PHP-PDT - XDebug Debugger 
Set Preferences -> Xdebug -> Configure -> Accept Remote session (JIT) to PROMPT

A web page can make multiple requests and this creates a nightmare when Eclipse continuously pops up a prompt-box and asks to accept the connection when a debug session is already running 

Most other IDE's allow you to specify paths that should be blocked from being accepted as debug requests. SO i can either specify an entire folder from the server or a file to be excluded and the debugger will silently discard any requests ( but they display a non-blocking message that the Debug request was blocked ) 

This becomes a nightmare in Eclipse if a webpage has like a chat software and is making requests every 3 to 5 seconds and the prompt keeps coming and there is no way to block it. 

Another feature is that when there is a prompt to accept a debug connection, the IDE does not show from what path the request is being generated - it just shows a prompt "Accept request from 127.0.0.1?" - most other IDE's show from which path (the full path as opposed to just the server) the request is coming so that we can determine to block or allow that request. 

2 feature requests:
-------------------------
1. Allow paths to be excluded from debug requests
2. Display the path from where the request is coming 

Thanks,
Naveen



Reproducible: Always