You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thank you very much for this amazing plugin !!!
However, I encounter offsets in the sourcemaps that make Remix debugging with vscode complicated. By activating/deactivating your plugin, I realized that it was the plugin that was causing it.
start debugging and add a breakpoint at return null of the app/root.tsx loader function (line 14 in the screenshot)
browse http://localhost:5173
the breakpoint is not reached
if on the other hand we move our breakpoint a little lower in the code (line 18 in the screenshot). we notice that the breakpoint is reached but the inspection corresponds to 4 lines above. we have our hello = 'world'
if we remove the remix-development-tools plugin in the vite.config.js
start debugging and add a breakpoint at return null of the loader function (line 14 in the screenshot) everything working fine
I hope I have been as clear as possible, do not hesitate if you would like more information.
have a great evening
The text was updated successfully, but these errors were encountered:
I think this might be fixed in the react-router-devtools, I'll definitely check this out with them to see if it works properly. Thank you so much for the detailed repro!
Hey @lhapaipai would you mind checking if this is still an issue with react-router-devtools and react router v7, I completely changed the approach and it should not augment source maps anymore
Hi,
Thank you very much for this amazing plugin !!!
However, I encounter offsets in the sourcemaps that make Remix debugging with vscode complicated. By activating/deactivating your plugin, I realized that it was the plugin that was causing it.
environnement:
Reproduction
Here is a minimal example to reproduce the issue.
pnpm create remix
pnpm add remix-development-tools
add the plugin into vite config
add a loader into the
app/root.tsx
Use
VSCode
to debug this app.add a "Attach by Process ID" debugging method for vscode at
.vscode/launch.json
run
pnpm run dev
start debugging and add a breakpoint at
return null
of theapp/root.tsx
loader function (line 14 in the screenshot)browse
http://localhost:5173
the breakpoint is not reached
if on the other hand we move our breakpoint a little lower in the code (line 18 in the screenshot). we notice that the breakpoint is reached but the inspection corresponds to 4 lines above. we have our
hello = 'world'
if we remove the
remix-development-tools
plugin in the vite.config.jsstart debugging and add a breakpoint at
return null
of the loader function (line 14 in the screenshot)everything working fine
I hope I have been as clear as possible, do not hesitate if you would like more information.
have a great evening
The text was updated successfully, but these errors were encountered: