xdebug.remote_port = 9000 步骤3:vscode配置环境 先下载php debug插件 配置vscode launch.json { "configurations": [ { "name": "Launch current script in console", "type": "php", "request": "launch", "program": "${file}", "cwd": "${fileDirname}", "externalConsole": false, "port": ...
copy phpinfo 在页面上显示的html, 粘贴到https://xdebug.org/wizard的文本框中, 然后按照提示进行操作 在php.ini中添加 [XDebug]xdebug.remote_enable=1xdebug.remote_autostart=1 code中安装PHP Debug 在code中打开/var/www/html/a.php, 可以写两句代码然后打个断点, 然后f5, 就ok了...
调试WSL的Golang程序 想要在VScode里调试Golang程序,推荐安装专属插件,就可以实现本地调试(相关系列文章请戳这里);想要在VScode里远程调试Golang程序,需要在安装专属插件时选择“Install on WSL”选项: 完成以上操作后,就能在VScode上点击debug,可能会遇到找不到gcc依赖,导致启动失败(可见微软的Ubuntu镜像是简洁版),可...
问在VSCode中使用Docker和WSL2调试PHP时的问题EN首先在VSCode中打开一个HTML文件 然后点右下角的“选择...
Remote - WSL, extension ID:ms-vscode-remote.remote-wsl PHP Tools for VS Code, extension ID:devsense.phptools-vscode Open Ubuntu in WSL Now you have VSCode, WSL, and Ubuntu installed and ready. Connect the VSCode to the your Ubuntu container. PressF1to bring the command palette, and run...
title: coder| 重回 win 开发环境之基于 wsl2 的 PHP 开发环境 内容简介: 开启wsl2 使用wsl Ubuntu 使用window terminal 使用docker desktop 并开启 wsl2 支持 使用vscode 并开启 wsl 支持 wsl Ubuntu 配置 PHP 环境 phpstorm 开启 wsl 支持 mark: 总结 ...
WSL2+Ubuntu+vscode+ESP-IDF: 能编译,刷固件出错,在运行esptool.py的时候vscode尝试从Windows环境中找Python。但vscode打开的是bash,ESP32板已经用usbipd接到了WSL里面的/dev/ttyUSB0。我装了Python后又找其他的module: Code: Select all * Executing task: /home/myaccount/.espressif/python_env/idf4.4_py...
Note: You can easily convert this markdown file to a PDF in VSCode using this handy extension Markdown PDF. Table of Contents Getting Started with WSL Developer Resources Books YouTube Videos Creating Backup & Restore Images in WSL 2 Setting up Zsh and Oh My Zsh in WSL 2 Linux Software ...
~/.vscode-server/extensions/espressif.esp-idf-extension-1.6.5 I disabled the Remote Host, then VS Code looks like this: WSL-Disabled.png I made a reboot. Then I installed the ESP-IDF extension again without Remote host. However, it still installed with WSL Ubuntu: ...
Press F10 to step and you’ll see the output of the print statement in the debug console. You get the full development experience of Visual Studio Code, using the Linux instance installed in WSL. If you want to open another folder in WSL, open theFilemenu and chooseOpe...