PHP/IDE/VSC
< PHP | IDE
Jump to navigation
Jump to search
Revision as of 13:35, 8 June 2022 by Woozle (talk | contribs) (Woozle moved page PHP/debugging/interactive/VSC to PHP/IDE/VSC)
Apparently Visual Studio Code (VSC) can be used to debug PHP code, but I haven't found any instructions that walk through the entire process.
- [official] PHP in Visual Studio Code
- I haven't gone through these thoroughly yet.
- 2021-05-28 How To Set Up Visual Studio Code (VS Code) for PHP Development
- This is a guide to setting up VSC to load PHP files to provide syntax highlighting and (I think) more advanced IDE features like source-finding, function parameters, etc. It spends most of its space on aesthetics configuration.
The basic trick seems to be:
- Install a debugger extension (VSC will at least lead you through this).
- Open the
index.php
file (or wherever the execution should start) in VSC.- ...remembering that VSC does not support drag-and-drop (at least not from Caja where the files are reached via sftp).
After that, though, there seem to be some issues finding the correct paths for other files to include (via {include
/require
}[_once
]()).