You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by "unical1988 (via GitHub)" <gi...@apache.org> on 2025/02/04 16:52:43 UTC
[I] How to debug using VSCode? [answer]
unical1988 opened a new issue, #1241:
URL: https://github.com/apache/answer/issues/1241
I am following this tut: https://answer.apache.org/docs/development/ in order to set Answer on my local machine.
I want to remote debug it on the frontend side (`Typescript`) How to do that ?
I am launching the platform locally (`localhost`) using the following command from the source folder
`go run cmd/answer/main.go run -C ./answer-data
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to debug using VSCode? [answer]
Posted by "fenbox (via GitHub)" <gi...@apache.org>.
fenbox closed issue #1241: How to debug using VSCode?
URL: https://github.com/apache/answer/issues/1241
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] How to debug using VSCode? [answer]
Posted by "shuashuai (via GitHub)" <gi...@apache.org>.
shuashuai commented on issue #1241:
URL: https://github.com/apache/answer/issues/1241#issuecomment-2639212534
I didn't understand what you want, If you just want to debug the front-end content in vscode you can do this
1. `shilft+commd+D`, click to create a launch.json

choose Web application (chrome)

Modify the port number 3000

2. run `cd ./ui` `pnpm start` start development
3. Add breakpoints where you need to debug, press F5 or click the debug icon to start debugging.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@answer.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org