I have an IndexedDB that was created with Chrome on a VM. I copied the folder to my local machine, and now I would like to see it in devtools. (and I have a script that will create CSVs for me)
My problem is that all the files are deleted as soon as I navigate to the domain and open devtools. It then adds empty LOG and LOCK files.
What I've Tried:
Using the IndexedDB created on my local machine:
Remove and re-add IndexedDB into the same chrome profile on the same machine: works fine.
Copy IndexedDB to a different chrome profile on
the same machine: works fine.
Changing the domain in the DB folder
name: Files not deleted, but DB won't show up in devtools
Using the IndexedDB from the VM:
Copying the IndexedDB domain folder (https_domain...): The files are deleted
and the log file shows: 2020/04/20-15:31:04.420 1cc4 Delete type=2 #897 There is one line for each of the LDB files I copied in.
Copying only the LDB files and manifest file - same issue as above
Cross Posted to:
https://superuser.com/questions/1543794/indexeddb-copy-from-vm-to-local-machine
IndexedDB copy from VM to Local Machine
https://webapps.stackexchange.com/questions/141564/indexeddb-copy-from-vm-to-local-machine
Edit: This has randomly started working, using the same files that I was trying it with before :S
Related
I am trying to implement an internal website on my company's shared hard drive.
Everything is going well except that I would like Chrome to open index.html file by default on root folder, exactly how it would do it on a remote web server. Any ideas, folks ?
What we do have as for now :
You have to run a webserver. By default, chrome will not serve any file, you have to open them on chrome properly.
So, since you're using WordPress, I suggest you to run xampp, or anything similar. To run on internal local network you have to configure windows to allow incoming connections from your machine IP address
Before chrome 64 I can map network css files to my local files.
And see the changes when I update the local files.
The feature was just gone.
Any one can help me find out the missing feature?
I'm trying to replace the file containing the IndexedDB database of my Chrome App with the database from my client's Chrome App so that I can view and get his data.
I've experimented with installing 2 Chrome Apps on my Google Chrome. I've tried to get the database files from
C:\Users[username]\AppData\Local\Google\Chrome\User Data\Profile 3\Storage\ext[chrome_app_id]\def\IndexedDB\chrome-extension_[chrome_app_id]_0.indexeddb.leveldb
folder (1st chrome app) and replace the database files on the second one. But the 2nd chrome app's data is still not updated with the data from the 1st one.
Is there a right way to do this?
I successfully updated the indexeddb database of my chrome app by replacing the database files while chrome is shut down.
It's not clear to my why I should use the option in PhpStorm to create a new project from existing files instead of just opening a folder and declaring the project directory.
I have a web server installed and I can access it's root by a shared network drive. Now I can just open the a folder in PhpStorm and declare it's root. It will generate a PhpStorm project at the given directory.
But there is also an option to open a new project from existing files (located under shared network drive). My best guess is that this option is the way to go. Is this true and if so, why? Or if it doesn't matter, why doesn't it?
There will be several people using the same shared drive to work in different projects in the webroot.
You can, of course, create a project on mounted network drive via File/Open, but note that this is not officially supported. All IDE functionality is based on the index of the project files which PHPStorm builds when the project is loaded and updates on the fly as you edit your code. To provide efficient coding assistance, PHPStorm needs to re-index code fast, which requires fast access to project files and caches storage. The latter can be ensured only for local files, that is, files that are stored on you hard disk and are accessible through the file system. Sure, mounts are typically in the fast network, but one day some hiccup happen and a user sends a stacktrace and all we see in it is blocking I/O call.
So, the suggested approach is downloading files to your local drive and use deployment configuiration to synchronize local files with remote. See https://confluence.jetbrains.com/display/PhpStorm/Sync+changes+and+automatic+upload+to+a+deployment+server+in+PhpStorm
I am using webstorm to load a project via sftp.
The remotely mapped directory had some files, which have been deleted via ssh from terminal.
These files still show up in the project, even If I try synchronizing the project dir with server, or download from server options.
The problem persists even if I create new projects, after delete existing ones.
ALso when I am creating a new project and trying to set project root at the dir in the server, when I go along the path to selecting that dir, all other dirs are not shown.
my remote path on server is ~/Desktop/jekyll_files
I have other directories on Desktop in the server, but these dont show up when I navigate to the jekyll_files dir
It was a problem unrelated to webstorm