View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002022||Xdebug||Step Debugging||public||2021-09-24 20:01||2021-09-29 17:00|
|Status||closed||Resolution||no change required|
|Summary||0002022: Stepping only in background (Linux, VSCODE, Devilbox)|
|Description||Step-debugging through the php code is working fine in index.php. As soon as jumping to another file stepping can be continued, but there are no stepping pointers in the other files. VSCODE shows error message "not-existing file ... can not be resolved". |
file is existing and path-mapping seems to be correct.
Debug session runs to a normal end when going through continously.
|Steps To Reproduce||start devilbox. start debug mode in index.php under vscode. open vhost-website in browser.|
Debugging will start in index.php. Stepping is ok as long as not leaving this file. After leaving error-message and running in background.
|Tags||No tags attached.|
Solved this trying a diffenrent PathMappings in launch.json.
Before that i had:
which allowed mapping of index.php (which is in web/) but not of other files (which are in contao/).