phpstorm

XDebug stopped working in PHPStorm

﹥>﹥吖頭↗ 提交于 2020-12-28 18:42:05
问题 I've been beating my head against this for hours. I've come back to do some work in PHPStorm after not having used it in a couple of weeks, and for some reason the debug doesn't work any more. It used to work, but now it doesn't and I have no idea what is going on. I'm running on Windows, using IIS, PHP version 5.3.8. The XDebug is installed, and I've set the configuration in PHP.ini as per the usual instructions. When I run phpinfo() everything looks normal (ie. XDebug is there). I've

XDebug stopped working in PHPStorm

霸气de小男生 提交于 2020-12-28 18:36:02
问题 I've been beating my head against this for hours. I've come back to do some work in PHPStorm after not having used it in a couple of weeks, and for some reason the debug doesn't work any more. It used to work, but now it doesn't and I have no idea what is going on. I'm running on Windows, using IIS, PHP version 5.3.8. The XDebug is installed, and I've set the configuration in PHP.ini as per the usual instructions. When I run phpinfo() everything looks normal (ie. XDebug is there). I've

XDebug stopped working in PHPStorm

霸气de小男生 提交于 2020-12-28 18:33:19
问题 I've been beating my head against this for hours. I've come back to do some work in PHPStorm after not having used it in a couple of weeks, and for some reason the debug doesn't work any more. It used to work, but now it doesn't and I have no idea what is going on. I'm running on Windows, using IIS, PHP version 5.3.8. The XDebug is installed, and I've set the configuration in PHP.ini as per the usual instructions. When I run phpinfo() everything looks normal (ie. XDebug is there). I've

PHPstorm console input not working during debug sessions

落花浮王杯 提交于 2020-12-25 03:55:05
问题 I'm using a PHP script which expects user input from a command like fgets(STDIN) . The problem is it no longer works in the newest version of PHPStorm (10). The same works when I run it directly (without debugger enabled) and anything I enter in the console is sent to the script (on direct run). But during a debug session, when I try to input text at the script's prompt, it does not go to the script. My best guess is that the new REPL feature is overriding user input in console during

win7 环境变量配置

别等时光非礼了梦想. 提交于 2020-12-18 06:58:42
一、打开 win7 环境变量设置窗口 计算机-> 属性-> 高级系统设置-> 环境变量 1. 右键算机】=> 【属性】 2. 点击【高级系统设置】 3. 点击【环境变量】 二、在 win7 中配置 java 环境变量 1. 从官网安装好 java 当前电脑上安装了2个java版本: (1)11.0.1版本:安装在,C:\Program Files\Java\jdk-11.0.1 (2)1.8.0 版本:安装在,D:\Tools\Android\jre 2. 在Administrator 中设置java 环境变量 变量名:JAVA_HOME 变量值:D:\Tools\Android\jre(填java安装目录) 变量名:CLASSPATH 变量值:.;%JAVA_HOME%\lib(英文句号“.”后跟一个分号,表示当前路径的意思) 3. 在系统环境变量中的Path 路径中添加 java 环境变量 三、本地计算环境变量配置保存备份 1. Adminstrator 环境变量中的Path C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin;%JAVA_HOME%\bin;%GoLand%;%PhpStorm%;C:\ffmpeg\bin;D

Pycharm安装详细教程

我怕爱的太早我们不能终老 提交于 2020-12-14 08:26:18
Jetbrains家族和Pycharm版本划分: pycharm是Jetbrains家族中的一个明星产品,Jetbrains开发了许多好用的编辑器,包括Java编辑器(IntelliJ IDEA)、JavaScript编辑器(WebStorm)、PHP编辑器(PHPStorm)、Ruby编辑器(RubyMine)、C和C++编辑器(CLion)、.Net编辑器(Rider)、iOS/macOS编辑器(AppCode)等。pycharm现在在官网[https://www.jetbrains.com/pycharm/download/#section=windows]是分为两个版本,第一个版本是Professional(专业版本),这个版本功能更加强大,主要是为Python和web开发者而准备,是需要付费的。第二个版本是社区版,一个专业版的阉割版,比较轻量级,主要是为Python和数据专家而准备的。一般我们做开发,下载专业版本比较合适。 PyCharm 是我用过的python编辑器中,比较顺手的一个。而且可以跨平台,在macos和windows下面都可以用,这点比较好。是python现在最好用的编辑器,没有之一。 安装包 PyCharm 笔者使用PyCharm2018.3.2,请根据机器是64位还是32位来选择对应的PyCharm版本。(相信绝大部分人都可以很从容的来查看自己机器的位数

Unable to get PhpStorm to connect to Xdebug running in WSL 2

依然范特西╮ 提交于 2020-12-07 15:21:55
问题 I am having trouble getting PhpStorm 2020.2 to work with xdebug with the following setup: WSL2 running Ubuntu 20, with PHP and php-xdebug installed. Whenever I run my tests with debugging enabled it says "Connection was not established.". This is what the Xdebug log shows: [5877] Log opened at 2020-08-14 17:20:45 [5877] I: Connecting to configured address/port: 172.18.48.1:9006. [5877] E: Time-out connecting to client (Waited: 200 ms). :-( [5877] Log closed at 2020-08-14 17:20:46 This is for

Unable to get PhpStorm to connect to Xdebug running in WSL 2

泪湿孤枕 提交于 2020-12-07 15:18:34
问题 I am having trouble getting PhpStorm 2020.2 to work with xdebug with the following setup: WSL2 running Ubuntu 20, with PHP and php-xdebug installed. Whenever I run my tests with debugging enabled it says "Connection was not established.". This is what the Xdebug log shows: [5877] Log opened at 2020-08-14 17:20:45 [5877] I: Connecting to configured address/port: 172.18.48.1:9006. [5877] E: Time-out connecting to client (Waited: 200 ms). :-( [5877] Log closed at 2020-08-14 17:20:46 This is for

Unable to get PhpStorm to connect to Xdebug running in WSL 2

和自甴很熟 提交于 2020-12-07 15:18:13
问题 I am having trouble getting PhpStorm 2020.2 to work with xdebug with the following setup: WSL2 running Ubuntu 20, with PHP and php-xdebug installed. Whenever I run my tests with debugging enabled it says "Connection was not established.". This is what the Xdebug log shows: [5877] Log opened at 2020-08-14 17:20:45 [5877] I: Connecting to configured address/port: 172.18.48.1:9006. [5877] E: Time-out connecting to client (Waited: 200 ms). :-( [5877] Log closed at 2020-08-14 17:20:46 This is for

Enabling Xdebug in PhpStorm

蓝咒 提交于 2020-12-07 06:30:25
问题 I have installed Xdebug in my Paragon server and I am trying to enable it in PhpStorm. But when I follow the steps I am unable to correctly validate the installation. I have updated my php.ini file inside my php installation directory to the new version of Xdebug 3.0: [Xdebug] zend_extension = C:\Laragon\bin\php\php-7.4.13-Win32-vc15-x64\ext\php_xdebug-3.0.0-7.4-vc15-x86_64.dll xdebug.mode=debug xdebug.client_port=9000 But I still keep on getting the validation errors in PhpStorm. I have also