debugging


Breakpoints and debugging statements open “read-only inlined content”


Context:
I am working on a React.js app that uses Webpack, and I'm using VS Code as my editor.
The Webpack config is specifying inline-source-map as its devtool option. but I am using hot reloading, too. So, source maps actually come into the browser via this webpack:// protocol.
I am using the following launch.json config:
{
"name": "Launch in Chrome",
"type": "chrome",
"request": "launch",
"url" : "https://myapp.local/", // This is not the real app URL
"trace" : true,
"sourceMaps": true,
"webRoot": "${workspaceRoot}/build",
"sourceMapPathOverrides": {
"webpack:///*" : "${webRoot}/*"
},
"preLaunchTask" : "development",
"internalConsoleOptions": "openOnSessionStart",
"smartStep": true,
"skipFiles": [
"node_modules/**",
"extensions:"
]
}
and I'm using this tasks.json.
Problem
So this mostly works well, except when I put a breakpoint somewhere, it opens the tab in a new tab marked as read-only inlined content from source map:
I just want to be able to debug and work on my files directly!

Related Links

Cannot See Values While Debugging ASP.NET Core
stepping into/through the code - it steps into code that has been commented out in visual studio 2012. Has anyone sen this before?
Getting info in lldb like gdb's info mach-regions?
Is there a way to debug the hierarchy when it's in the middle of integration test in Unity3D?
Typescript debugging with concatenated js files
Angular 2 Errors and Typescript - how to debug?
Comfortable use of PTVS Debugger
Visual Studio C++ Disable debugging in specific parts of code
Change Meteor Node-Inspector web-port
Putting Breakpoint on Register Write in Trace32
Accessing VIM in Digital Ocean cuts off part of file
Unable to remote debug a ASP.NET 5 WebApp in Azure
How to debug Firefox's XUL startup (on Windows)
Solving and debugging a logic puzzle in Prolog
Hide stack frames from certain source files in LLDB
Jumping to random code when using IDIV

Categories

HOME
jdo
blogger
oracle11g
nullpointerexception
appx
iterator
hashmap
platform-builder
objectgears
youtube-dl
analysis
azure-media-services
uber-api
upload
virtualization
adobe-analytics
quicklook
caml
foselasticabundle
facebook-page
oracle-coherence
flux
xlsxwriter
excel-2007
core-text
format-specifiers
shopware
spark-jobserver
centos6.5
r-raster
preg-match
catch-all
framemaker
phpfreechat
gammu
twitch
temporary-files
cookiecutter-django
particles.js
preconditions
import-from-excel
node-sass
xml-documentation
scrollable
parentheses
hls.js
mplayer
darcs
pearson
epson
spring-cache
root-framework
libpng
azure-virtual-network
nsfilemanager
django-debug-toolbar
gstreamer-0.10
clang-static-analyzer
pagedlist
master-slave
fadeout
rhino-servicebus
xpath-1.0
google-places
jmeter-maven-plugin
jqgrid-formatter
twirl
ios9.1
operation
rake-task
tween
oxwall
jsonpickle
ng-animate
tablelayout
knuth
coldbox
winddk
asp.net-dynamic-data
elliptic-curve
comexception
oracle-warehouse-builder
ember-charts
oam
spring-validator
cisco-jtapi
dsn
netbeans-6.9
amazon-appstore
jquery-ui-layout
php-parser
oncheckedchanged
zend-translate
asp.net-profiles
bespin
multi-tier
procedural-music
spec#
grid-system
.net-1.0

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile