Webstorm js debugger

The problem is that when i specified all debug configuration in Webstorm i need to specify an debug url (local file or remote server url) to start debugging. Then i click on debug button and it opens me a new tab in browser with that url and debugging enabled only for that tab via chrome extension. My question is about - is there any way to run debug on the page that is already opened in my browser.

For example i have mydomain.com/* , where * - can be any url, so i want to debug every page on my mydomain.com , and not to open new page with exact url (that i typed inside my debug configuration) every time i run debug from webstorm. It's just annoying and wasting so much time. Can debug be attached to one tab every time it launches ? Thanks.

0
1 comment

Normally debugger attaches to already open browser tab with URL matching the one in your Run configuration, new tab is only opened if matching one hasn't been found. Note that you can start the debug session from browser: open your URL in Crome, right-click the page and choose Inspect in WebStorm:

 

0

Please sign in to leave a comment.