{// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version":"0.2.0","configurations":[{"name":"Debug","type":"cppdbg","request":"launch","program":"${workspaceFolder}/kernel/kernel","cwd":"${workspaceFolder}","miDebuggerPath":"/opt/riscv-gnu-toolchain/bin/riscv64-unknown-elf-gdb",// 可能需要更改
"miDebuggerServerAddress":"127.0.0.1:YourPort",// 修改端口
"MIMode":"gdb","stopAtEntry":true,"preLaunchTask":"fix_gdbinit","setupCommands":[{"description":"Enable pretty-printing for gdb","text":"-enable-pretty-printing","ignoreFailures":false}]}]}