View Issue Details

IDProjectCategoryView StatusLast Update
0001663XdebugRemote Debuggingpublic2019-05-03 20:43
ReporterjpfingstAssigned To 
PrioritynormalSeverityblockReproducibilityalways
Status newResolutionopen 
Product Version2.7.0rc1 
Target VersionFixed in Version 
Summary0001663: Remote Visual Studio Code not stopping on breakpoints.
DescriptionI am using Visual Studio Code to remotely debug Laravel PHP on a local Homestead Nginx server.
Visual Studio Code is not stopping any breakpoints.
Visual Studio Code will show running threads.
Visual Studio Code will break on exceptions at which time the call stack displays and variable values can be examined.
In the xdebug log, I see breakpoint_set entries where I've confirmed the file and line numbers match where I've set breakpoints in VSC.
The xdebug log seems to indicate all is well on the server side, but I don't really know.
Additional InformationThe attached xdebug log likely includes a forced exception (I put in a 1/0 after the line of code where I had set a breakpoint, to be sure this code was getting executed as expected).

vagrant@homestead:~/code/api$ php -v
PHP 7.3.1-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Jan 13 2019 10:19:33) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.1-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.7.0rc1, Copyright (c) 2002-2019, by Derick Rethans
    with blackfire v1.24.3~linux-x64-non_zts73, https://blackfire.io, by Blackfire
TagsNo tags attached.
Operating SystemUbuntu 18.04
PHP Version7.3.0-7.3.1

Activities

jpfingst

2019-05-03 19:30

reporter  

xdebug.log (160,421 bytes)
launch.json (799 bytes)

jpfingst

2019-05-03 19:36

reporter  

xdebug.ini (160 bytes)

jpfingst

2019-05-03 19:39

reporter   ~0005014

Visual Studio Code
Version: 1.33.1 (user setup)
Commit: 51b0b28134d51361cf996d2f0a1c698247aeabd8
Date: 2019-04-11T08:27:14.102Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 6.1.7601

jpfingst

2019-05-03 20:03

reporter   ~0005015

If I set stop_on_entry, I am able to step through/over/into without problems.

jpfingst

2019-05-03 20:43

reporter   ~0005016

I tried adding xdebug.idekey=VSCODE, but that didn't seem to have any affect.

Issue History

Date Modified Username Field Change
2019-05-03 19:30 jpfingst New Issue
2019-05-03 19:30 jpfingst File Added: xdebug.log
2019-05-03 19:30 jpfingst File Added: launch.json
2019-05-03 19:36 jpfingst File Added: xdebug.ini
2019-05-03 19:39 jpfingst Note Added: 0005014
2019-05-03 20:03 jpfingst Note Added: 0005015
2019-05-03 20:43 jpfingst Note Added: 0005016