safari-web-inspector

How to apply a hidden / remote sourcemap in Safari?

左心房为你撑大大i 提交于 2019-12-03 08:21:01
I'm attempting to debug an issue in my react app, that's only occurring on iOS, in production. I want to utilise a hidden sourcemap so I can debug the app's minified assets in Safari without overtly publishing the commented source. hidden-source-map - Same as source-map, but doesn’t add a reference comment to the bundle. https://webpack.github.io/docs/configuration.html#devtool In Chrome I can: serve the sourcemap wherever I like (eg main.js.map right next to the minified file) open the minified asset in the Sources tab right click and 'Add Sourcemap…', supplying the URL to main.js.map Cmd-p

Safari Web inspector keeps disconnecting

不想你离开。 提交于 2019-12-03 02:10:23
问题 I've Safari 8.0.6 with iOS 8.3 on my iPad, while debugging through Web Inspector on my Mac (10.10.3) , the connection keeps on disconnecting (I don't see the device name under Develop menu upon disconnection) but can resume if I quit safari followed by a relaunch then I'm able to refresh and inspect remotely again. 回答1: There are a few things to try: 1. Test on the Xcode Simulator: Open the iPhone simulator in Xcode and debug there with Safari Web Inspector. Sidenote : Maybe you need to

Safari Web inspector keeps disconnecting

时光怂恿深爱的人放手 提交于 2019-12-02 17:15:43
I've Safari 8.0.6 with iOS 8.3 on my iPad, while debugging through Web Inspector on my Mac (10.10.3) , the connection keeps on disconnecting (I don't see the device name under Develop menu upon disconnection) but can resume if I quit safari followed by a relaunch then I'm able to refresh and inspect remotely again. There are a few things to try: 1. Test on the Xcode Simulator: Open the iPhone simulator in Xcode and debug there with Safari Web Inspector. Sidenote : Maybe you need to download the Safari Technology Preview 2. Reset your location and privacy settings on your device. Settings >

Flexbox does not work in Safari, striked out in Web inspector

放肆的年华 提交于 2019-12-01 11:07:33
I'm using display: flexbox for a div container cointaining a number of squares (to make them align nicely horizontally), and it works fine in Chrome, but not in Safari 8.0, where it's striked out like this: #grid { overflow-x: hidden; overflow-y: scroll; position: absolute; top: 55px; left: 415px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; flex-direction: row; flex-wrap: wrap; } .square { width: 166px; height: 185px; position: relative; cursor: pointer; background-size: 166px 125px !important; background-repeat: no-repeat !important; background: #FFF; margin

Flexbox does not work in Safari, striked out in Web inspector

て烟熏妆下的殇ゞ 提交于 2019-12-01 07:54:10
问题 I'm using display: flexbox for a div container cointaining a number of squares (to make them align nicely horizontally), and it works fine in Chrome, but not in Safari 8.0, where it's striked out like this: #grid { overflow-x: hidden; overflow-y: scroll; position: absolute; top: 55px; left: 415px; bottom: 10px; right: 10px; display: flex; justify-content: space-between; flex-direction: row; flex-wrap: wrap; } .square { width: 166px; height: 185px; position: relative; cursor: pointer;

iOS Simulator to test website on Mac [closed]

╄→尐↘猪︶ㄣ 提交于 2019-11-30 08:53:00
I need to test my site on an iOS device from a Mac. Is there a desktop simulator available to do this? You can use the iOS simulator to do this. You need to enable "Developer Mode" on Safari (Preferences -> Advanced). Then open the website you want to debug in the iOS simulator. Go back to safari and under Develop you will see the simulator and the tabs open on safari. If you want to test an actual device, then just plug it into your computer and it should show there too. That's how I do it. You can check and use their free trial browserstack , saucelabs or browser shots I know this is a very

iOS Simulator to test website on Mac [closed]

懵懂的女人 提交于 2019-11-29 12:15:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I need to test my site on an iOS device from a Mac. Is there a desktop simulator available to do this? 回答1: You can use the iOS simulator to do this. You need to enable "Developer Mode" on Safari (Preferences -> Advanced). Then open the website you want to debug in the iOS simulator. Go back to safari and under

How do I toggle source mapping in Safari 7?

﹥>﹥吖頭↗ 提交于 2019-11-28 07:14:16
问题 The Safari 7 inspector is marvelously line-mapping compiled javascript back to the coffeescript it came from. There are times, though, when I want to interact directly with the compiled javascript in inspector. How do I toggle source mapping off so I can play with the raw javascript? 回答1: In Safari 7, Source Maps are not something that you have to toggle on or off they are just always on like resources are always available in the web developer tool. If you want to jump to the raw source you

Safari Developer Tools: Preserve Network Log on Navigation

巧了我就是萌 提交于 2019-11-27 14:54:41
问题 When using Safari Web Inspector to view the Network Log, the log is reset upon navigation, i.e. navigating to a different page clears the log. In the Chrome Developer Tools, I can easily persist the network log by checking the "Preserve log" checkbox in the Network tab. In Firefox Developer Tools, I can preserve the network log by checking "Enable persistent logs" in the developer tools preferences. With this persistence enabled, the network log remains intact until I manually clear the