Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

328
Visualizações
How to use map filesystem folder to debug original sources in Chromium Developer Tools

I have a website running at https://somewebsite.com/.

  • It references a compiled javascript file: /js/site.js
  • mapping file is also available on the server /js/site.js.map
  • typescript file is not available - I'm getting 404 for /js/site.ts which is correct!

I have the original typescript file available locally at C:/projects/myapp/wwwroot/js/site.ts

How do I map my source file in Edge's/Chrome developer tools so that I can debug it?

When I add C:/projects/myapp/wwwroot/ local folder to workspace, the files are not linked.

However, when the same website is running on localhost, and I add the local folder to workspace, it works!

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

Yes, you can only use Workspace with localhost sites. For detailed information, you can refer to this thread.

So the only way to map filesystem folder to debug the site is hosting the site in localhost first. About detailed steps of working with Workspaces, you can refer to this doc.

about 4 years ago · Juan Pablo Isaza Relatório

0

As @YouZhou answered, I cannot map a local folder, but I can use overrides:

  1. Right click the typescript file and choose Save for overrides

    enter image description here

  2. Then paste the content of local file to the overriden file

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda