Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoint stop work for PHP #112288

Closed
Duldris opened this issue Dec 11, 2020 · 13 comments
Closed

Breakpoint stop work for PHP #112288

Duldris opened this issue Dec 11, 2020 · 13 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@Duldris
Copy link

Duldris commented Dec 11, 2020

  • VSCode Version: 1.52.0
  • OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. press f9 on php project
  2. nothing happen

Does this issue occur when all extensions are disabled?: Yes/No

@vscodebot
Copy link

vscodebot bot commented Dec 11, 2020

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@oleevier
Copy link

oleevier commented Dec 11, 2020

For me also adding breakpoint doesnt work anymore , i cannot select a line to add breakpoint , i mean it is not adding anymore :(
even i use key or point line by mouse

i use php debug v1.13.0

@Duldris
Copy link
Author

Duldris commented Dec 11, 2020

it's the same, debug doesn't work even with all the tricks.
to fix i download previous release and all restart to work.

before install stop auto-update ;-)

@MatthieuScarset
Copy link

Same here.... I was debugging my PHP app... and had the bad idea to upgrade VSCode to latest release.

Pouf. Breakpoints don't work anymore.

Terrible...

@evertoncsilva
Copy link

evertoncsilva commented Dec 11, 2020

Same as @MatthieuScarset here, debug was working perfectly fine until I decided to upgrade

Edit:
Changing the PHP debug extension, as commented below, has solved the problem

@Duldris
Copy link
Author

Duldris commented Dec 11, 2020

waiting bugfix can be fix downgrade to previous version:

https://code.visualstudio.com/updates/v1_51

@isidorn
Copy link
Contributor

isidorn commented Dec 11, 2020

I am suspecting you are using a PHP debug extension by @felixfbecker
This is an extension issue which I reported 1 month ago xdebug/vscode-php-debug#424

Please comment on that issue in order to get it fixed. Thank you

@isidorn isidorn closed this as completed Dec 11, 2020
@isidorn isidorn added *caused-by-extension Issue identified to be caused by an extension debug Debug viewlet, configurations, breakpoints, adapter issues labels Dec 11, 2020
@isidorn isidorn self-assigned this Dec 11, 2020
@isidorn isidorn changed the title Breakpoint stop work Breakpoint stop work for PHP Dec 11, 2020
@Duldris
Copy link
Author

Duldris commented Dec 11, 2020

change extension like this post, work fine

xdebug/vscode-php-debug#424 (comment)

@jakubmisek
Copy link

This issue is related to the extension you use for debugging. Try a different one, i.e. https://marketplace.visualstudio.com/items?itemName=DEVSENSE.phptools-vscode (paid) which should work out of the box.

@weinand
Copy link
Contributor

weinand commented Dec 11, 2020

As a workaround, you can use this setting to enable breakpoints everywhere:

2020-12-11_23-16-18

@MatthieuScarset
Copy link

@jakubmisek so your proposed solution is to switch to a paid extension? Nop but thank you anyway.

@weinand solution works like a charm! thank you 👍

@jakubmisek
Copy link

@MatthieuScarset I proposed switching to a different extension that properly registers itself as a debug engine for PHP files. You shouldn't need any workaround for this. Anyways, if it's working and it's free, that's fine as well.

@weinand
Copy link
Contributor

weinand commented Dec 17, 2020

The latest stable VS Code (1.52.1) has a workaround for the missing adoption of the removed API.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*caused-by-extension Issue identified to be caused by an extension debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

7 participants