-
Notifications
You must be signed in to change notification settings - Fork 150
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
Need way to debug the packages when running examples #1304
Comments
Hi @pgangwani , I have the same problem since we have build multi packages. |
Let me try few simple things. |
I see one option to add nx tooling to it. Thoughts? |
In pnpm a package in So it's more of a vite concern than a pnpm one. Try the following:
You should be able to see the source code in your browser devtool. |
Amazing leme try |
Issue and Steps to Reproduce
I was trying to debug logout function by running examples/react-oidc-demo where I noticed that because we are using pnpm workspace, code is coming from node_modules upon install/build.
![Screenshot 2024-02-20 at 10 17 29 AM](https://private-user-images.githubusercontent.com/14316332/306137641-012558ec-b7b1-4cd8-ae79-d663e37753c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg3NDc2NzQsIm5iZiI6MTcxODc0NzM3NCwicGF0aCI6Ii8xNDMxNjMzMi8zMDYxMzc2NDEtMDEyNTU4ZWMtYjdiMS00Y2Q4LWFlNzktZDY2M2UzNzc1M2M4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE4VDIxNDkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmNzU3YmZiMDZkMmVmZmE0ZGVlOTVkNjkyNjk0OTkzYTRiODJmYzFlMGNkMWE1YjU4YTM5NGY3MGJlOGYxYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.EsQc4S8NWDg_Nmb9YskqctLZb4LTBO4X-Wh6wHHqEkk)
How can I get actual source with same files(sourcemap) to debug it much better ?
Versions
all
Screenshots
Expected
Need to know how to debug in packages while running the example
Actual
Not finding right doc
Additional Details
The text was updated successfully, but these errors were encountered: