Welcome to the TRNSYS Users Forum.
The forum is a place where people can interact and have discussions about different topics involving the use of the TRNSYS software package. Here you can post topics for discussion or questions on using TRNSYS and get advice from other users or TRNSYS experts. This forum is not intended for detailed technical support. Users should contact their distributor’s hotline for such assistance.
Some tips for success on using the forum:
- Follow the Forum Rules posted in Forum Administration.
- There are categories for different types of topics and questions. Post your topic or question into the proper category.
- Before posting a topic or question search the existing topics (and the TRNSYS Users listserv archive or Post archive) to see if a similar topic or question has already been answered.
- Use a descriptive topic name. Don’t use attention getting subjects, they don’t get attention and only annoy people.
- State the version of TRNSYS and which add-ons your are using.
- Include enough specific details for your topic of question to be answered. Just posting “Why am I getting an error?” without describing the specific error and what you are trying to do when you get the error will not receive a response that fixes your issue.
- Remember when people help you, they are doing you a favor. Be patient, help people out by posting good descriptions of what you need help with, and be polite even if a response does not solve your issue.
- Moderators may edit your post for clarity or move your topic to a more appropriate category.
Yes, you can debug Python scripts in Visual Studio Code by using the debugpy package.
See the linked article for more information.
Here is the article in Japanese(日本語の記事はこちらです)
Type3157のPythonスクリプトをVS Codeでデバッグする
https://www.kankyoukei.com/2023/04/type3157-vscode.html
デバッグ方法の解説動画を作成、公開しました。解説は日本語です。日本語が得意じゃない方は字幕と一緒にみるのを推奨します。
I have created and published an instructional video on how to debug.
The explanation is in Japanese. If you are not good at Japanese, it is recommended to watch it with subtitles.
Debugging Type3157 Python scripts with Visual Studio Code
https://youtu.be/YHV_PiBTAGc
Additional Info: Debugging TRNSYS, Type3157 Python Scripts with Visual Studio Code
https://youtu.be/Q8ZarZZ6ldA