VSCodeからQGIS(OSGeo4W版)のPython(qgis.coreなど)を使えるようにする。 パスを通してQGIS環境でスクリプトを実行・デバッグできるようにする。 QGISはスタンドアロンではないこと。express版、advance版どちらでもOK。私の場合は初心者なのでexpress版にしている。
QGIS has some 'startup options' if started from the commandline. One I often use is the --lang nl one, to (temporarily) start QGIS in dutch to check for example what a menu looks like in dutch.
What is the bug or the crash? When trying to export a layout from python standalone exportToImage does not produce any output. I have tried witht the pdf option (exportToPdf) and it works as expected.