Skip to content

Commit

Permalink
feat: Support vscode breakpoint debugging. fix: Fix the problem that …
Browse files Browse the repository at this point in the history
…the source code is included after the plug-in is installed (#33)

Co-authored-by: ccl <[email protected]>
  • Loading branch information
huakudou and ccl authored Sep 8, 2023
1 parent 3acbcce commit 5a71ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/gpt-runner-vscode/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
.vscode/**
.vscode-test/**
scripts/**
src/**
tsconfig.json
tsup.config.ts
2 changes: 1 addition & 1 deletion packages/gpt-runner-vscode/scripts/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function dev() {
)
}

await execa('tsup', ['--watch', 'src'], { cwd: root, stdio: 'inherit' })
await execa('tsup', ['--watch', 'src', '--sourcemap'], { cwd: root, stdio: 'inherit' })
}

dev()

0 comments on commit 5a71ab6

Please sign in to comment.