Code Monkey home page Code Monkey logo

Comments (9)

jdalton avatar jdalton commented on May 14, 2024 3

Just popping in to say that I recently ran into this too. NiM is configured to auto-open a window. In its inspector inline source maps are broken. However, that doesn't stop chrome://inspect from working.

demo

from nim.

june07 avatar june07 commented on May 14, 2024

When you say NiM "introduce this issue when it otherwise wouldn't be present--" what do you mean exactly?

Are you saying that chrome://inspect behaves differently based NiM being installed or not?

from nim.

anied avatar anied commented on May 14, 2024

Sorry if I was unclear: I am saying the presence of NiM does affect the behavior.

If I have NiM installed, the Chrome inspector will be automatically opened when I start a node task in debug mode-- however, while sourcemaps will be detected they won't map sourcefiles.

If I then disable NiM in Chrome and restart the same node task in debug mode, and navigate to chrome://inspect to open the chrome dev tools for node, sourcefiles will be mapped properly.

from nim.

june07 avatar june07 commented on May 14, 2024

Well first of all, thank you. Appreciate the feedback. Certainly if this is the case, it's a big concern that I would like to get resolved.

I haven't delved too deeply into the Chrome source to see what code exactly is behind chrome://inspect, so I'm afraid I can't speak to the difference between that and devtools://devtools/bundled/inspector.html. I have a suspicion that the problem may be in the Chrome DevTools inspector code...

As I recall, I looked a bit into the chrome://inspect feature but didn't see a correlation between the two. Maybe that would help to know if there is/isn't and further to ask the Chrome dev team about the bundled inspector code if it's shown that the issue here is also related to it.

Hopefully that all makes sense... typing this on my phone, after having a few glasses of wine this evening.

-Cheers

from nim.

anied avatar anied commented on May 14, 2024

Certainly. Let me know if you need any further details from me for reproducing the issue or anything like that.

Github always pairs well with wine. 🍷Thanks.

from nim.

jcollum avatar jcollum commented on May 14, 2024

I've seen this too but it's sporadic. I don't have consistent steps to repro.

from nim.

june07 avatar june07 commented on May 14, 2024

http://june07.com/blog/nim-custom-devtools-url/

I believe using a different DevTools version in cases where this comes up (dependant upon which version of chrome/node you are running) will resolve the issue.

from nim.

SagaciousLittle avatar SagaciousLittle commented on May 14, 2024

使用插件时,babel 的源映射不会映射到源。这与 NodeJS 问题 #8369 的症状相似——但是_,_当我使用该问题访问开发工具时,看不到该问题。chrome://inspect

喜欢这个插件,并且很乐意提供帮助——我可以根据需要执行更多信息,如果我能得到一些指导,我愿意尝试打开 PR。

谢谢。

When using the plug-in, sourcemaps for babel aren't been mapped to the source. This is similar in symptom to NodeJS issue #8369 -- however, when I access the dev tools using chrome://inspect the issue is not seen.

Love this plug-in and would be happy to help however is needed-- I can perform more info as needed and would be willing to take a crack at opening a PR if I could get some direction.

Thanks.

hello, is there any updates on this issure?

from nim.

june07 avatar june07 commented on May 14, 2024

#98 (comment)

See if that helps...

from nim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.