View Issue Details

IDProjectCategoryView StatusLast Update
0002022XdebugStep Debuggingpublic2021-09-29 17:00
ReporterErnestophel Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformdesktopOSUbuntuOS Version21.04
Product Version3.0.4 
Summary0002022: 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.

TagsNo tags attached.
Operating SystemKubuntu
PHP Version7.4.0-7.4.4

Activities

Ernestophel

2021-09-24 20:31

reporter   ~0006050

Solved this trying a diffenrent PathMappings in launch.json.

"pathMappings": {
"/shared/httpd/contao": "${workspaceFolder}/projects/contao"

Before that i had:

"pathMappings": {
"/shared/httpd/contao/web": "${workspaceFolder}/projects/contao/web"

which allowed mapping of index.php (which is in web/) but not of other files (which are in contao/).