How to debug page with htaccess mod rewrite?
Posted: October 27th, 2018, 8:46 am
Hi,
I can run debugger directly for a certain page by hitting green "play" button in Visual Studio. However, this will debug only a certain page with no query string. If I try to modify URL by adding string in a browser and reload page, connection to debugger is lost.
For example:
localhost:9000/?XDEBUG_SESSION_START=9B3EE103
but if I rewrite it manually to
localhost:9000/some-article-id?XDEBUG_SESSION_START=9B3EE103
debugger no longer works. However, in Visual Studio, debugger is still running, but not catching breakpoints that are included in newly used data.
I can run debugger directly for a certain page by hitting green "play" button in Visual Studio. However, this will debug only a certain page with no query string. If I try to modify URL by adding string in a browser and reload page, connection to debugger is lost.
For example:
localhost:9000/?XDEBUG_SESSION_START=9B3EE103
but if I rewrite it manually to
localhost:9000/some-article-id?XDEBUG_SESSION_START=9B3EE103
debugger no longer works. However, in Visual Studio, debugger is still running, but not catching breakpoints that are included in newly used data.