Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to debug the server in vscode? #1

Open
bigscorpions opened this issue Nov 30, 2018 · 2 comments
Open

How to debug the server in vscode? #1

bigscorpions opened this issue Nov 30, 2018 · 2 comments

Comments

@bigscorpions
Copy link

I see there are debug config in package.json. How to debug it with vscode? Could you show me the launch.json example to debug it with 'yarn debug"? Thanks!

@UncleBill
Copy link

"bootstrap": "lerna bootstrap",
"start": "lerna exec --scope -- yarn start",
"commit": "git add . && git commit -a && git push",
"deploy": "docker-compose down && docker-compose up",
"eslint-fix": "eslint src/**/**/*.vue --fix",
"format-code": "npm run format-client & npm run format-server",
"format-client": "prettier-eslint --write \"client/src/**/*.js\" \"client/src/**/*.vue\"",
"format-server": "prettier-eslint --write \"server/src/**/*.js\"",
"client:start": "lerna exec --scope client -- yarn start",
"client:build": "lerna exec --scope client -- yarn build",
"server:start": "lerna exec --scope server -- yarn start",
"server:build": "lerna exec --scope client -- yarn build"

No any debug config here.

You can find ways to debug with vscode at its docs page: https://code.visualstudio.com/docs/editor/debugging

@nicejade
Copy link
Owner

@bigscorpions yarn debug is an experimental function. If you use vscode development, You can refer to Debugging in Visual Studio Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants