问题描述
我在Mac上运行Xdebug 2.9,并且可以在PHPStorm 2020.1中调试PHP脚本,但是当我在一个简单的脚本中设置断点时,我无法让IDE对Chrome Xdebug扩展做出反应我在浏览器上运行。
我激活了扩展名(绿色),并且在扩展名选项中将def generate_table(dataframe,max_rows=10000):
return html.Table([
html.Thead(
html.Tr([html.Th(col) for col in dataframe.columns])
),html.Tbody([
html.Tr([
html.Td(dataframe.iloc[i][col]) for col in dataframe.columns
]) for i in range(min(len(dataframe),max_rows))
])
],style={
'margin-right': 'auto','margin-left': 'auto'
}
)
设置为IDE密钥,并且我正在侦听PHP调试连接,但是PHPStorm对此没有任何反应。
debug.remote_enable = 1
我不知道该配置什么。
编辑::我在网络上使用MAMP for PHP。解决方案是取消注释我的MAMP PHP版本的PHP.ini中的“ zend_extension”键,而不是指向我自己的xdebug扩展名。