# fpm的vscode调试助手 **Repository Path**: zoziha/xdb ## Basic Information - **Project Name**: fpm的vscode调试助手 - **Description**: 🚀 服务于 Fortran 的 vscode 调试信息配置程序 (玩具项目) - **Primary Language**: FORTRAN - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-03-07 - **Last Updated**: 2025-05-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: Fortran, fpm, VSCode, debug ## README # 服务于 Fortran 的 vscode 调试信息配置程序 ![XDB](https://img.shields.io/badge/XDB-v0.4.20230916-blueviolet) ![Language](https://img.shields.io/badge/-Fortran-734f96?logo=fortran&logoColor=white) ![Windows](https://img.shields.io/badge/-Windows-blue?logo=windows&logoColor=white) `xdb` is an auxiliary program of `fortran-lang/fpm` to configurate vs code graphical debugger for fpm. ## 开始 ### 依赖 - Git - VS Code - gdb - [fortran-lang/fpm](https://github.com/fortran-lang/fpm) ### Build with fortran-lang/fpm Fortran Package Manager (fpm) is a package manager and build system for Fortran. You can build `xdb` using provided `fpm.toml`: ```sh fpm install --profile release --perfix ``` ### Configurate `luanch.json` in VS Code with `xdb` Pass the program to be debugged to `xdb` for processing: ```sh fpm run --runner dir xdb ``` ![start.gif](https://i.loli.net/2021/11/14/8mSWJc5iBC7KA3I.gif) ## Links - [json-fortran](https://github.com/jacobwilliams/json-fortran) - [test-drive](https://github.com/fortran-lang/test-drive) - [stdlib](https://github.com/fortran-lang/stdlib) - [fpm](https://github.com/fortran-lang/fpm)