Edited mapping used by the phpStorm (x-)debugger to allow tracing code in a new file in a new directory, still gives the not mapped error.

I submitted the following issue to JetBrains and StackOverflow several days ago, and from JetBrains I only got back an email confirming the submission -- nothing else, but when I click on the tracking number I get a 404 error.  From StackOverflow, I have had seval reads, but no comments or answers.  The JetBrains' issue tracking number is #2262479.  Here is the text of the issue that I submitted to JetBrains:

I started working on a Symfony Service Container, which uses a file stored in a new and different location than the source files directories that were previously configured for x-debugging. The new directory is located in the src\AppBundle directory, called Service, and is a sibling to the Controller directory the top level directory for debugging and is where my project's source files are located.

Putting a debug mark on the line I want to break in the service file in phpStorm's editor's left margin, shows a small x in the mark. Floating the mouse pointer over this x shows a note saying that the directory needs to be mapped.

To fix this, I tried changing the current mapping from

D:/Users/Ron Brown/Git/symfony2/symfony.dev.iambreakinout.com/src/AppBundle/Controller => /var/www/vhosts/symfony2/src/AppBundle/Controller

to

D:/Users/Ron Brown/Git/symfony2/symfony.dev.iambreakinout.com/src/AppBundle => /var/www/vhosts/symfony2/src/AppBundle

And then adding two includes:

D:/Users/Ron Brown/Git/symfony2/symfony.dev.iambreakinout.com/src/AppBundle/Controller and
D:/Users/Ron Brown/Git/symfony2/symfony.dev.iambreakinout.com/src/AppBundle/Service

This didn't fix the problem.

Note, after these changes, debugging in the Controller files and files contained is subdirectories below that still works.

0
Avatar
Permanently deleted user

Since submitting this issue as a trouble ticket I was contacted once, where I was asked to take a screen-shot of my setting, but haven't heard anything after that, and that happened over a week ago.  I've seen several other people posting about debugging issues, why is there a really good resource that explains about how to set up and manage the debugging setup and mapping for remote debugging.  To me, while there are a lot of features in phpStorm, this is one of the most important features, which I regularly use.

0

请先登录再写评论。