Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

请问如何调试 docker compose up后运行中的 fastgpt web 和 service 的ts代码?

感谢~

You must be logged in to vote

Replies: 1 comment · 1 reply

Comment options

调试肯定要先本地部署

You must be logged in to vote
1 reply
@Lu-Kye
Comment options

目前本地是使用编译源码的Docker镜像方式部署的:

#!/bin/sh

current_path=`pwd`
fastgpt_path=$current_path/FastGPTSrc

# 先删除本地上次编译的Docker镜像
docker rmi fastgpt:localbuilt

cd $fastgpt_path
docker build -f ./projects/app/Dockerfile -t fastgpt:localbuilt . --build-arg name=app

cd $current_path

不知道是否有办法远程attach到 docker里面的运行时 进行断点啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.